I have been trying to get this to work for some time, not having any success. I have my Arduino outputting a stream of 1’s and 0’s depending on a button state. Using the serial monitor I can see that everything is working properly and that the output is clean and as expected. The issue I am having is getting that data into the blueprint. I want to use the input ‘1’ to change the flicker speed of a light to .2 and I want ‘0’ to reset it to the flicker speed of 1.0. I am not sure exactly how to do this within the Blueprint editor however.
://forums.unrealengine.com/filedata/fetch?filedataid=115894&type=thumb
This was an educated guess on how it might work, but I really don’t know. If “Selection” on the ‘Switch on Int’ node is set to 0 or to 1 the result is as expected however apparently I am either not getting the data into the blueprint, I am not handling it properly, or both. One thing to note is this is a constant stream of data, should I base it off of the Event Tick instead? Any thoughts?