/* Made by Jefferson Sandoval for the Electronics production assignemtn during * the FabAcademy2021 * * This is just a simple testing code in Arduino consisting of a LED blinking. * * This code was uploaded to a board with an Attiny1614 microcontroller. Documentation: * http://fabacademy.org/2021/labs/kamplintfort/students/jefferson-sandoval/assignments/week05/ */ const int led = 8; // Declare constant "led" to the pin where the LED is connected void setup() { pinMode(led, OUTPUT); // Set LED as an output } // The loop function runs over and over void loop() { digitalWrite(led, HIGH); // Turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(led, LOW); // Turn the LED off (by making the voltage LOW) delay(1000); // Wait for a second }