iCar
pins.h
[詳解]
1 
5 #ifndef Pins_h
6 #define Pins_h
7 
8 
9 #include "LcdDrv_Ext.h"
10 
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
21 #define LED_BUILTIN (PIN_LED3)
22 
27 #define PIN_VOLUME (0)
28 
33 #define PIN_DISTANCE (1)
34 
39 #define PIN_BRIGHTNESS (2)
40 
45 #define PIN_LINE_L (3)
46 
51 #define PIN_LINE_R (4)
52 
57 #define PIN_TOGGLE (5)
58 
63 #define PIN_BTN1 (6)
64 
69 #define PIN_BTN2 (7)
70 
75 #define PIN_LED1 (8)
76 
81 #define PIN_LED2 (9)
82 
87 #define PIN_LED3 (10)
88 
93 #define PIN_LED4 (11)
94 
99 #define PIN_LED5 (12)
100 
105 #define PIN_LED6 (13)
106 
111 #define PIN_MOTOR_L (14)
112 
117 #define PIN_MOTOR_R (15)
118 
123 #define PIN_BUZZER (16)
124 
129 #define PIN_FLED_R (17)
130 
135 #define PIN_FLED_G (18)
136 
141 #define PIN_FLED_B (19)
142 
143 
144 #ifdef __cplusplus
145 }
146 #endif
147 
148 
149 #endif
LCD表示機能を提供する