News

The Arduino IDE is a nice tool for starting out ... To illustrate, one set of the duplicated code in loop() can be extracted into a function, outPins, and the duplicate code can be manually ...
void Program::run() { for (;;) { // program code here checkSerialInput(); } } The function initArduino() is inlined and handles the two initialization routines required to setup the Arduino ...