Taiki Maruyama
/
MainBoard2018_Auto_Master_A_neww
aaaaaaaaa
Fork of MainBoard2018_Auto_Master_A_new by
Embed:
(wiki syntax)
Show/hide line numbers
ColorSensor.h
00001 #ifndef COLORSENSOR_H_ 00002 #define COLORSENSOR_H_ 00003 00004 #include "mbed.h" 00005 00006 namespace COLORSENSOR { 00007 #define DOUT0_PIN PB_1 00008 #define DOUT1_PIN PC_5 00009 #define DOUT2_PIN PA_7 00010 #define DOUT3_PIN PC_4 00011 00012 extern DigitalIn DOUT[]; 00013 00014 #define CK0_PIN PB_12 00015 #define CK1_PIN PA_12 00016 #define CK2_PIN PB_13 00017 #define CK3_PIN PB_14 00018 00019 extern DigitalOut CK[]; 00020 00021 #define RANGE_PIN PA_11 00022 extern DigitalOut RANGE; 00023 00024 #define GATE_PIN PB_15 00025 extern DigitalOut GATE; 00026 00027 } 00028 00029 #endif
Generated on Wed Jul 13 2022 01:10:06 by 1.7.2