Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed AQM1602 HMC6352 PID
Diff: setting/extern.h
- Revision:
- 17:61edad76efd7
- Parent:
- 16:6900f47fa0b5
- Child:
- 18:97eba56f82e4
--- a/setting/extern.h Mon Jan 11 17:45:56 2016 +0000 +++ b/setting/extern.h Mon Jan 18 02:14:23 2016 +0000 @@ -9,7 +9,6 @@ #include "AQM1602.h" #include "MPU6050_6Axis_MotionApps20.h" #include "config.h" -#include "Pswitch.h" #include "PID.h" #include "adns_9800.h" @@ -35,7 +34,7 @@ //ballcheck(bottom) extern DigitalIn BallChecker; //debug_switch(debug_board) -extern Pswitch Sw[4]; +extern DigitalIn Sw[4]; //motor(main) extern Serial motor; //spi(main) @@ -65,6 +64,7 @@ //for DataSet extern Record data; // for Time +extern Ticker Sw_ticker; extern Timer t; extern Ticker Duty[DUTY_NUM]; extern Timeout Stp;