What will you name your other lights? */ ON = int HIGH; //This is to make coding for the switch "on" or "off" easier = int ; // These are the names of your lights, and the number of = int ; the pin you will connect to. = // We named each led to make it easier to code int ; = int ; = int ; are the names and numbers of the switches you are = using int ; SETUP SECTION: In the setup() function, initialize your LED’s and Switches you declared in the naming section.. Since lights are output, Switches are input, and SECTION #2: /*SETUP Put things here that you only need to do once: For instance, OUTPUTS AND INPUTS (lights, switches, . . . ). setup() void { // start serial connection This is for the Circuit Playground to work properly. Serial.begin(9600); // Here we tell the Circuit Playground to read the switches as INPUT , ); pinMode( , ); pinMode( , ); pinMode( // Here we tell the Circuit Playground to read the lights as OUTPUT , ); pinMode(
What will you name your other lights? */ int ON = HIGH; int = ; int = ; int = ; int = ; int = ; int = ; //This is to make coding for the switch "on" or "off" easier // These are the names of your lights, and the number of the pin you will connect to. // We named each led to make it easier to code are the names and numbers of the switches you are using SETUP SECTION: In the setup() function, initialize your LED’s and Switches you declared in the naming section.. Since lights are output, and Switches are input, /*SETUP SECTION #2: Put things here that you only need to do once: For instance, OUTPUTS AND INPUTS (lights, switches, . . . ). void setup() { Serial.begin(9600); pinMode( , ); pinMode( , ); pinMode( , ); pinMode( , ); // start serial connection This is for the Circuit Playground to work properly. // Here we tell the Circuit Playground to read the switches as INPUT // Here we tell the Circuit Playground to read the lights as OUTPUT