Use PWM to slowly lower pen

This commit is contained in:
fruchti 2020-12-29 13:43:20 +01:00
parent ab5b2c61e6
commit c9a3535df9
4 changed files with 73 additions and 13 deletions

View file

@ -8,7 +8,7 @@
// #define PIN_USB_PULLUP 15 // PA15 - 1.5 kΩ to D+
// Port B
#define PIN_PEN_STATE 6 // PB6
#define PIN_PEN_STATE 6 // PB6 - TIM4_CH1
// Port C
#define PIN_LED 13 // PC13 - Status LED