ジャパンオープン用のLPC824専用プログラム
Dependencies: mbed-src Ping SDFileSystem
main/extern.h
- Committer:
- lilac0112_1
- Date:
- 2016-03-27
- Revision:
- 8:7b9d70751bdf
- Parent:
- 1:ea7307724f1c
File content as of revision 8:7b9d70751bdf:
#ifndef _EXTERN_H_ #define _EXTERN_H_ #include "def.h" /*追加ライブラリ*/ #include "SDFileSystem.h" #include "Ping.h" #include "format.h" /*クラス,ピン宣言等*/ #if defined(ULTRA_SONIC) || defined(ULTRA_SONIC_2) extern Serial pc; extern SPISlave nucleo; extern InterruptIn call; extern Ping rear; extern Ping front; extern DigitalOut led[2]; #endif /*(ULTRA_SONIC) || (ULTRA_SONIC_2)*/ #ifdef IR_SENSOR extern Serial pc; extern SPISlave nucleo; extern InterruptIn call; extern SPI ir; extern DigitalOut cs[]; extern PwmOut supply; #endif /*IR_SENSOR*/ #endif /*_EXTERN_H_*/