// AGONZALESPI HELLO BOARD TEST int led1 = 4; //pinout of the attiny45 of my hello board int boton1 = 3; //pinout of the attiny45 of my hello board int estadob1 = 0; // the setup function runs once when you press reset or power the board void setup() { // initialize digital pin LED as an output. pinMode(led1, OUTPUT); ; pinMode(boton1, INPUT); } // the loop function runs over and over again forever void loop() { estadob1 = digitalRead (boton1); //we read the status of the button and we store the reading in the variable if (estadob1 == HIGH) { //We ask if the button is pressed, and if it is pressed, digitalWrite (led1, HIGH);//We turn the LED on } else { //And if the button is not pressed digitalWrite (led1, LOW);//We turn the LED off } }