LPC824専用プログラム
Dependencies: Ping SDFileSystem mbed-src
def.h
- Committer:
- lilac0112_1
- Date:
- 2015-12-31
- Revision:
- 2:9a51bb2694aa
- Parent:
- 1:7070fb876a2c
- Child:
- 7:9b1ac6fbf32c
File content as of revision 2:9a51bb2694aa:
#ifndef _DEF_H_ #define _DEF_H_ //4つの内どれか一つを定義する. //#define SD_CARD //#define ULTRA_SONIC//HC-SR04 //#define COLOR_SENSOR//S9706→required for changing to S9032 #define IR_SENSOR//MCP3208 #ifdef SD_CARD #define BUFSIZE 40 #define FDATA_NUM 10 #endif /*SD_CARD*/ #ifdef ULTRA_SONIC #endif /*ULTRA_SONIC*/ #ifdef COLOR_SENSOR #define SENSOR_NUM 3 #define COLOR_NUM 3 #define SENSOR_X_COLOR 9 #endif /*COLOR_SENSOR*/ #ifdef IR_SENSOR #define IC_NUM 3 #define CH_NUM 8 #endif /*IR_SENSOR*/ #endif