sub1 enc and r1370
Dependencies: 2022_NHK_B_canTR QEI R1370 mbed
Revision 1:f286f65bcbec, committed 2022-10-10
- Comitter:
- umekou
- Date:
- Mon Oct 10 09:53:30 2022 +0000
- Parent:
- 0:dfda9f251700
- Commit message:
- add reset pin
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r dfda9f251700 -r f286f65bcbec main.cpp --- a/main.cpp Sun Oct 09 10:10:09 2022 +0000 +++ b/main.cpp Mon Oct 10 09:53:30 2022 +0000 @@ -29,11 +29,12 @@ int main() { - Reset=1; + led = 1; printf("success!\r\n"); - while(1) { + while(1) { + Reset=0; updateenc(); updatejyro(); pc.printf("\r\n ");