Hi all....
I have the VBB program so will i was testing my solenids i had a problem with the program and here it is....
int voltone = 2;
int volttwo = 4;
void setup() {
Serial.begin(9600);
pinMode(voltone, OUTPUT);
pinMode(volttwo, OUTPUT);
}
void loop() {
digitalWrite(voltone, HIGH);
delay(1000);
digitalWrite(volttwo, HIGH);
delay(1000);
digitalWrite(voltone, LOW);
digitalWrite(volttwo, LOW);
}
what am i expecting from this code is to set one "LED"(for example) on then wait then set the other "LED 2" on then turn off LED and finally turn off LED2 .... but that is not what i'm getting! ..... what i'm getting is this.... LED is on and remain on while LED2 blinks with no end...
please help