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
setting/extern.h@40:f68474b1d5e7, 2016-02-04 (annotated)
- Committer:
- lilac0112_1
- Date:
- Thu Feb 04 07:12:34 2016 +0000
- Revision:
- 40:f68474b1d5e7
- Parent:
- 35:a0421268ee95
- Child:
- 42:02aaa806d929
Line...Return by IrRange; pow 30 ; Turn good
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| lilac0112_1 | 14:6f214ea5722e | 1 | #ifndef _EXTERN_H_ |
| lilac0112_1 | 14:6f214ea5722e | 2 | #define _EXTERN_H_ |
| lilac0112_1 | 14:6f214ea5722e | 3 | |
| lilac0112_1 | 14:6f214ea5722e | 4 | #include "def.h" |
| lilac0112_1 | 14:6f214ea5722e | 5 | |
| lilac0112_1 | 14:6f214ea5722e | 6 | /*追加ライブラリ*/ |
| lilac0112_1 | 14:6f214ea5722e | 7 | #include <sstream> |
| lilac0112_1 | 16:6900f47fa0b5 | 8 | #include "math.h" |
| lilac0112_1 | 14:6f214ea5722e | 9 | #include "AQM1602.h" |
| lilac0112_1 | 21:d69a8f3c76e1 | 10 | #include "HMC6352.h" |
| lilac0112_1 | 16:6900f47fa0b5 | 11 | #include "PID.h" |
| lilac0112_1 | 14:6f214ea5722e | 12 | |
| lilac0112_1 | 14:6f214ea5722e | 13 | #include "adns_9800.h" |
| lilac0112_1 | 14:6f214ea5722e | 14 | #include "txrx.h" |
| lilac0112_1 | 16:6900f47fa0b5 | 15 | #include "switch.h" |
| lilac0112_1 | 14:6f214ea5722e | 16 | #include "wordString2.h" |
| lilac0112_1 | 24:9fb74ea3c25d | 17 | #include "IrConfig.h" |
| lilac0112_1 | 16:6900f47fa0b5 | 18 | |
| lilac0112_1 | 19:342da3a5a474 | 19 | #include "setup.h" |
| lilac0112_1 | 19:342da3a5a474 | 20 | #include "command.h" |
| lilac0112_1 | 19:342da3a5a474 | 21 | #include "active.h" |
| lilac0112_1 | 19:342da3a5a474 | 22 | #include "input.h" |
| lilac0112_1 | 19:342da3a5a474 | 23 | #include "output.h" |
| lilac0112_1 | 19:342da3a5a474 | 24 | #include "strategy.h" |
| lilac0112_1 | 19:342da3a5a474 | 25 | |
| lilac0112_1 | 16:6900f47fa0b5 | 26 | #include "PinConfig.h" |
| lilac0112_1 | 16:6900f47fa0b5 | 27 | #include "LcdConfig.h" |
| lilac0112_1 | 16:6900f47fa0b5 | 28 | #include "MathTable.h" |
| lilac0112_1 | 14:6f214ea5722e | 29 | /*クラス*/ |
| lilac0112_1 | 16:6900f47fa0b5 | 30 | |
| lilac0112_1 | 16:6900f47fa0b5 | 31 | //pc(Computer) |
| lilac0112_1 | 16:6900f47fa0b5 | 32 | extern RawSerial pc; |
| lilac0112_1 | 16:6900f47fa0b5 | 33 | //led(main) |
| lilac0112_1 | 16:6900f47fa0b5 | 34 | extern DigitalOut LED[4]; |
| lilac0112_1 | 16:6900f47fa0b5 | 35 | //line(bottom) |
| lilac0112_1 | 18:97eba56f82e4 | 36 | extern BusOut LineSignalHolder; |
| lilac0112_1 | 18:97eba56f82e4 | 37 | extern BusIn RawLineSignal; |
| lilac0112_1 | 18:97eba56f82e4 | 38 | extern BusIn HeldLineSignal; |
| lilac0112_1 | 21:d69a8f3c76e1 | 39 | extern InterruptIn Line[3]; |
| lilac0112_1 | 16:6900f47fa0b5 | 40 | //ballcheck(bottom) |
| lilac0112_1 | 16:6900f47fa0b5 | 41 | extern DigitalIn BallChecker; |
| lilac0112_1 | 16:6900f47fa0b5 | 42 | //debug_switch(debug_board) |
| lilac0112_1 | 17:61edad76efd7 | 43 | extern DigitalIn Sw[4]; |
| lilac0112_1 | 16:6900f47fa0b5 | 44 | //motor(main) |
| lilac0112_1 | 16:6900f47fa0b5 | 45 | extern Serial motor; |
| lilac0112_1 | 16:6900f47fa0b5 | 46 | //spi(main) |
| lilac0112_1 | 16:6900f47fa0b5 | 47 | extern SPI spi; |
| lilac0112_1 | 16:6900f47fa0b5 | 48 | extern DigitalOut spi_ss[4]; |
| lilac0112_1 | 16:6900f47fa0b5 | 49 | //bluetooth(debug_board) |
| lilac0112_1 | 16:6900f47fa0b5 | 50 | extern RawSerial RN42; |
| lilac0112_1 | 16:6900f47fa0b5 | 51 | extern DigitalOut RN42_Reset; |
| lilac0112_1 | 16:6900f47fa0b5 | 52 | //lcd(debug_board) |
| lilac0112_1 | 16:6900f47fa0b5 | 53 | extern AQM1602 Lcd; |
| lilac0112_1 | 21:d69a8f3c76e1 | 54 | //cmps |
| lilac0112_1 | 21:d69a8f3c76e1 | 55 | extern HMC6352 hmc; |
| lilac0112_1 | 16:6900f47fa0b5 | 56 | //mouse(bottom) |
| lilac0112_1 | 16:6900f47fa0b5 | 57 | extern adns_9800 mouse_sensor; |
| lilac0112_1 | 16:6900f47fa0b5 | 58 | //solenoid(bottom) |
| lilac0112_1 | 16:6900f47fa0b5 | 59 | extern DigitalOut kicker; |
| lilac0112_1 | 16:6900f47fa0b5 | 60 | |
| lilac0112_1 | 16:6900f47fa0b5 | 61 | //Serial for motors |
| lilac0112_1 | 16:6900f47fa0b5 | 62 | extern int speed[4]; |
| lilac0112_1 | 16:6900f47fa0b5 | 63 | extern string StringFIN; |
| lilac0112_1 | 16:6900f47fa0b5 | 64 | //PID |
| lilac0112_1 | 16:6900f47fa0b5 | 65 | extern PID pid; |
| lilac0112_1 | 16:6900f47fa0b5 | 66 | extern Ticker pidupdate; |
| lilac0112_1 | 16:6900f47fa0b5 | 67 | //for Serial |
| lilac0112_1 | 14:6f214ea5722e | 68 | extern volatile uint8_t INdata[DATA_NUM], EXdata[DATA_NUM]; |
| lilac0112_1 | 16:6900f47fa0b5 | 69 | //for DataSet |
| lilac0112_1 | 14:6f214ea5722e | 70 | extern Record data; |
| lilac0112_1 | 19:342da3a5a474 | 71 | //for transition |
| lilac0112_1 | 19:342da3a5a474 | 72 | extern Ticker Sw_ticker; |
| lilac0112_1 | 19:342da3a5a474 | 73 | extern Timeout button; |
| lilac0112_1 | 19:342da3a5a474 | 74 | extern bool state[4]; |
| lilac0112_1 | 19:342da3a5a474 | 75 | extern uint8_t statesum, last_statesum; |
| lilac0112_1 | 16:6900f47fa0b5 | 76 | // for Time |
| lilac0112_1 | 24:9fb74ea3c25d | 77 | extern Ticker Motor_ticker; |
| lilac0112_1 | 24:9fb74ea3c25d | 78 | extern Ticker Line_ticker; |
| lilac0112_1 | 24:9fb74ea3c25d | 79 | extern Ticker Ir_ticker; |
| lilac0112_1 | 24:9fb74ea3c25d | 80 | extern Ticker Solenoid_ticker; |
| lilac0112_1 | 35:a0421268ee95 | 81 | extern Timeout Solenoid_timeout; |
| lilac0112_1 | 40:f68474b1d5e7 | 82 | extern Timeout Line_timeout[3]; |
| lilac0112_1 | 24:9fb74ea3c25d | 83 | |
| lilac0112_1 | 14:6f214ea5722e | 84 | extern Ticker Duty[DUTY_NUM]; |
| lilac0112_1 | 14:6f214ea5722e | 85 | extern Timeout Stp; |
| lilac0112_1 | 14:6f214ea5722e | 86 | extern double dutycycle[DUTY_NUM]; |
| lilac0112_1 | 14:6f214ea5722e | 87 | |
| lilac0112_1 | 14:6f214ea5722e | 88 | #endif /*_EXTERN_H_*/ |