//Fab Academy 2022 - Fab Lab Anáhuac Puebla //LED + LED //GUITARDINO //SAMD11C // //Original code: José Manuel Díaz 09/8/2022 // This work may be reproduced, modified, distributed, // performed, and displayed for any purpose, but must // acknowledge this project. Copyright is retained and // must be preserved. The work is provided as is; no // warranty is provided, and users accept all liability. // //2 leds turn on and off in reverse void setup() { pinMode(14, OUTPUT);//Here it is defined (PIN NUMBER, is it input or output?) pinMode(2, OUTPUT);//Here it is defined (PIN NUMBER, is it input or output?) } void loop() { digitalWrite(14, HIGH);//Digital writing, high or low? digitalWrite(2, LOW);//Digital writing, high or low? delay(200); // How long I wait? (It's milliseconds) digitalWrite(14, LOW);//Digital writing, high or low? digitalWrite(2, HIGH);//Digital writing, high or low? delay(200); // How long I wait? (It's milliseconds) }