mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 03:44:30 +03:00
PEP emulation (didn't test yet)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user