You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then to have visual feedback lets add a blink function to make 3 blinks after the photo is taken, once the blue LED is ON it means the picture was taken.
228
+
```cpp
229
+
void countDownBlink(){
230
+
for (int i = 0; i < 6; i++){
231
+
digitalWrite(LEDG, i % 2);
232
+
delay(500);
233
+
}
234
+
digitalWrite(LEDG, HIGH);
235
+
digitalWrite(LEDB, LOW);
236
+
}
237
+
```
227
238
Now that you have all the functions to be used, inside the `setup()` its call them only once after the board restarts.
0 commit comments