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:
- 16:6900f47fa0b5
- Parent:
- 15:88f2c525caca
- Child:
- 17:61edad76efd7
--- a/setting/extern.h Sat Jan 09 02:15:46 2016 +0000 +++ b/setting/extern.h Mon Jan 11 17:45:56 2016 +0000 @@ -5,33 +5,69 @@ /*追加ライブラリ*/ #include <sstream> +#include "math.h" #include "AQM1602.h" #include "MPU6050_6Axis_MotionApps20.h" #include "config.h" #include "Pswitch.h" +#include "PID.h" #include "adns_9800.h" #include "mpu_6050.h" #include "txrx.h" #include "loop.h" #include "loop2.h" +#include "switch.h" #include "wordString2.h" + +#include "PinConfig.h" +#include "LcdConfig.h" +#include "MathTable.h" /*クラス*/ + +//pc(Computer) +extern RawSerial pc; +//led(main) +extern DigitalOut LED[4]; +//line(bottom) +extern BusIn LineIn; +extern BusOut LineOut; +//ballcheck(bottom) +extern DigitalIn BallChecker; +//debug_switch(debug_board) +extern Pswitch Sw[4]; +//motor(main) +extern Serial motor; +//spi(main) +extern SPI spi; +extern DigitalOut spi_ss[4]; +//bluetooth(debug_board) +extern RawSerial RN42; +extern DigitalOut RN42_Reset; +//lcd(debug_board) +extern AQM1602 Lcd; +//gyro(debug_board) +extern MPU6050 mpu; // sda, scl pin +extern InterruptIn INT0; // INT0 pin +//mouse(bottom) +extern adns_9800 mouse_sensor; +//solenoid(bottom) +extern DigitalOut kicker; + +//Serial for motors +extern int speed[4]; +extern string StringFIN; +//PID +extern PID pid; +extern Ticker pidupdate; +//for Serial extern volatile uint8_t INdata[DATA_NUM], EXdata[DATA_NUM]; +//for DataSet extern Record data; -extern BusOut LED; +// for Time extern Timer t; extern Ticker Duty[DUTY_NUM]; extern Timeout Stp; -extern Pswitch Sw; -extern BusIn RotarySw; -extern RawSerial pc,RN42; -extern AQM1602 Lcd; -extern char lcdstr[STATE_NUM_Y][STATE_NUM_X][BUFSIZE]; extern double dutycycle[DUTY_NUM]; -extern MPU6050 mpu; -extern InterruptIn INT0; - -extern string StringFIN; #endif /*_EXTERN_H_*/ \ No newline at end of file