201803_oshima Team.F.C.
Dependencies: BMP180 MPU6050 SDFileSystem mbed
Fork of 201803_oshima_jodan by
Revision 12:c32b14ca0196, committed 2018-03-17
- Comitter:
- sashida_h
- Date:
- Sat Mar 17 15:44:14 2018 +0000
- Parent:
- 11:0f8d26600248
- Child:
- 13:4c1633775de7
- Commit message:
- add yabai message
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Mar 12 09:15:12 2018 +0000 +++ b/main.cpp Sat Mar 17 15:44:14 2018 +0000 @@ -7,7 +7,7 @@ #define UNLOCK 1 #define LOCK 0 #define TIMER 30 //開放タイマー -#define RATE 50//判定周期 +#define RATE 50//判定周期 謎の不具合により、145行目のkaihou.attach(_open,1/RATE);はコメントアウトしてるので、直接数字をいじってください #define ALT 1 //落下判断高度 SDFileSystem sd(p5, p6, p7, p8, "sd"); // the pinout on the mbed Cool Components workshop board @@ -76,6 +76,7 @@ if(ret == -1){ goto normal; }else{ + twe.printf("reboot now\r\n"); goto yabai; }