Add FastIO TOGGLE for ESP32 (#13574)
This commit is contained in:
parent
0992d1a4c8
commit
63d95862fa
1 changed files with 3 additions and 0 deletions
|
@ -64,6 +64,9 @@
|
|||
#define PWM_PIN(P) true
|
||||
#define USEABLE_HARDWARE_PWM(P) PWM_PIN(P)
|
||||
|
||||
// Toggle pin value
|
||||
#define TOGGLE(IO) WRITE(IO, !READ(IO))
|
||||
|
||||
//
|
||||
// Ports and functions
|
||||
//
|
||||
|
|
Reference in a new issue