Posts by jessica.m16 • 1 point
2 posts
-
-1
votes1
answer285
viewsA: Arduino with counter
I got it. This is the code I used: const int S1 = 6; const int s2 = 7; const int M1 = 8; const int L1 = 11; int cont = 0; void setup() { // put your setup code here, to run Once: pinMode(S1,…
-
-1
votes1
answer285
viewsQ: Arduino with counter
I can’t understand what’s wrong with that code S1 once and M1 stay turned on but it turns off after a while. The program also doesn’t count as it should. The question is this: In the system below…