PEP emulation (didn't test yet)

This commit is contained in:
Edward Emelianov
2024-03-08 13:23:23 +03:00
parent 8ea835d80f
commit bc82142e87
17 changed files with 183 additions and 26 deletions

View File

@@ -20,6 +20,9 @@
#include <stm32f3.h>
// PEP emulation - period of encoder/esw data send - 70ms
#define ENCODER_PERIOD (69)
// USB pullup
#define USBPU_port GPIOC
#define USBPU_pin (1<<15)