Arduino State Machine
问题 This is a cross-post from someone who answered my original question here. I'm not sure how to go about executing the 3 functions I'm after (as well as introducing even more than 3 in the future). I am simply trying to Fade/Blink the selected Colour of an RGB LED (and perhaps introduce more functions in the future) where its RGB data is coming back from iOS and sent to an RFDuino BLE module. Sends a "fade" string to the module picked up by RFduinoBLE_onReceive (char *data, int len) on the