1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 12:04:19 +00:00

STM32F4: All pins can do PWM

This commit is contained in:
Scott Lahteine 2018-06-03 04:30:15 -05:00
parent 85914423a1
commit c685c7b7dd

View File

@ -31,6 +31,8 @@
#define _BV(b) (1 << (b)) #define _BV(b) (1 << (b))
#define USEABLE_HARDWARE_PWM(p) true
#define READ(IO) digitalRead(IO) #define READ(IO) digitalRead(IO)
#define WRITE(IO,V) digitalWrite(IO,V) #define WRITE(IO,V) digitalWrite(IO,V)
#define WRITE_VAR(IO,V) WRITE(IO,V) #define WRITE_VAR(IO,V) WRITE(IO,V)