User Activity

I understand the simulator doesn't know about GPIO and so on. That being said, if one wanted to manipulate the hardware from the UI actions (say, set an LED), what's the best way to do that?Two ideas I have: 1) Use the preprocessor to comment out any...