Professional Documents
Culture Documents
int puerta1= 9;
int puerta2= 8;
int ban= 8;
void setup() {
Serial.begin( 9600 );
} //END OF SETUP
void loop() {
int COM_value = Serial.read(); //read from the serial connection; the - '0' is to cast the
values as the int and not the ASCII code
//LED #2
//LED #3