Add FastIO TOGGLE for ESP32 (#13574)
This commit is contained in:
parent
0992d1a4c8
commit
63d95862fa
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue