Use PWM to slowly lower pen
This commit is contained in:
parent
ab5b2c61e6
commit
c9a3535df9
4 changed files with 73 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue