ジャパンオープン用のLPC824専用プログラム

Dependencies:   mbed-src Ping SDFileSystem

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers extern.h Source File

extern.h

00001 #ifndef _EXTERN_H_
00002 #define _EXTERN_H_
00003 
00004 #include "def.h"
00005 
00006 /*追加ライブラリ*/
00007 #include "SDFileSystem.h"
00008 #include "Ping.h"
00009 
00010 #include "format.h"
00011 /*クラス,ピン宣言等*/
00012 
00013 #if defined(ULTRA_SONIC) || defined(ULTRA_SONIC_2)
00014 extern Serial pc;
00015 extern SPISlave nucleo;
00016 extern InterruptIn call;
00017 extern Ping rear;
00018 extern Ping front;
00019 extern DigitalOut led[2];
00020 #endif /*(ULTRA_SONIC) || (ULTRA_SONIC_2)*/
00021 
00022 #ifdef IR_SENSOR
00023 extern Serial pc;
00024 extern SPISlave nucleo;
00025 extern InterruptIn call;
00026 extern SPI ir;
00027 extern DigitalOut cs[];
00028 extern PwmOut supply;
00029 #endif /*IR_SENSOR*/
00030 
00031 #endif /*_EXTERN_H_*/