29 lines
526 B
C
29 lines
526 B
C
#ifndef VELOMETER_PINS_H
|
|
#define VELOMETER_PINS_H
|
|
|
|
#define PIN_LCD_CS 1
|
|
#define PIN_LCD_SCL 2
|
|
#define PIN_LCD_SDA 3
|
|
#define PIN_LCD_DATA_COMMAND 4
|
|
#define PIN_LCD_RESET 5
|
|
|
|
#define PIN_LCD_BACKLIGHT 6
|
|
#define BACKLIGHT_PWM_SLICE 3
|
|
#define BACKLIGHT_PWM_CHANNEL 0
|
|
|
|
#define PIN_RTC_RESET 9
|
|
#define PIN_RTC_CLOCK 10
|
|
#define PIN_RTC_IO 11
|
|
|
|
#define PIN_BEEPER 12
|
|
|
|
#define PIN_BUTTON_0 15
|
|
#define PIN_BUTTON_1 16
|
|
#define PIN_BUTTON_2 17
|
|
#define PIN_BUTTON_3 18
|
|
|
|
#define PIN_MAIN_HALL_SENSOR 23
|
|
#define PIN_AUX_HALL_SENSOR 24
|
|
|
|
#endif
|