Skip to content
Snippets Groups Projects
Commit 536efbd8 authored by Yume's avatar Yume
Browse files

fp

parent c22c0a94
Branches
No related tags found
No related merge requests found
Pipeline #185560 passed
......@@ -20,7 +20,7 @@ For example if I want to turn on solenoid valve after 10000 loop cycles, I used
In each loop, I used `counter_sol_OFF ++ ` to add 1 to the variable. And once it is over 10000, it `digitalWrite(solenoidPin, HIGH);`.
```
```
counter_sol_OFF ++ ;
matrix[2][3] =0;
matrix[1][3] =0;
......@@ -30,6 +30,7 @@ In each loop, I used `counter_sol_OFF ++ ` to add 1 to the variable. And once it
counter_sol_OFF = 0;
sol_state = 1;
digitalWrite(solenoidPin, HIGH);
```
This is the entire code that is constructed by me, with the revision of Yamamoto-san.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment