lowpass gửi vào
- 2009 lượt xem
void setup() { pinMode(2,OUTPUT); pinMode(3,OUTPUT); pinMode(4,OUTPUT); } void loop() { blink(); } int i=0; void blink() { int led[] = {4,3,2}; digitalWrite(led[i], HIGH); delay(1000); digitalWrite(led[i], LOW); delay(1000); i=i++; if(i==3)i=0; }