rotary and logic integrated, rotary not working good

This commit is contained in:
Wolfgang Hottgenroth
2017-05-31 17:45:45 +02:00
parent 209e1bd1c5
commit 56f96e5f26
17 changed files with 555 additions and 85 deletions

View File

@ -45,6 +45,12 @@
#define LED_GPIO_Port GPIOC
#define ERROR_Pin GPIO_PIN_14
#define ERROR_GPIO_Port GPIOC
#define ROTARY_B_Pin GPIO_PIN_3
#define ROTARY_B_GPIO_Port GPIOB
#define ROTARY_A_Pin GPIO_PIN_4
#define ROTARY_A_GPIO_Port GPIOB
#define SWITCH_Pin GPIO_PIN_5
#define SWITCH_GPIO_Port GPIOB
#define OLED_CS_Pin GPIO_PIN_7
#define OLED_CS_GPIO_Port GPIOB
#define OLED_DC_Pin GPIO_PIN_8