LPC824専用プログラム
Dependencies: Ping SDFileSystem mbed-src
extern.h
- Committer:
- lilac0112_1
- Date:
- 2015-12-31
- Revision:
- 2:9a51bb2694aa
- Parent:
- 0:2f48b11b154f
- Child:
- 3:410a2812b0dc
File content as of revision 2:9a51bb2694aa:
#ifndef _EXTERN_H_ #define _EXTERN_H_ #include "def.h" /*追加ライブラリ*/ #include "SDFileSystem.h" #include "Ping.h" #include "format.h" /*クラス,ピン宣言等*/ #ifdef SD_CARD extern Serial pc; extern SDFileSystem sd; extern SPISlave nucleo; #endif /*SD_CARD*/ #ifdef ULTRA_SONIC extern Serial pc; extern Ping rear; extern Ping front; extern SPISlave nucleo; #endif /*ULTRA_SONIC*/ #ifdef COLOR_SENSOR extern Serial pc; extern AnalogIn ColorSensor[]; extern SPISlave nucleo; #endif /*COLOR_SENSOR*/ #ifdef IR_SENSOR extern Serial pc; extern SPI ir; extern DigitalOut cs[]; extern SPISlave nucleo; #endif /*IR_SENSOR*/ #endif /*_EXTERN_H_*/