Add FastIO TOGGLE for ESP32 (#13574)

This commit is contained in:
Kajetan Rzepecki 2019-04-05 06:15:17 +02:00 committed by Scott Lahteine
parent 0992d1a4c8
commit 63d95862fa

View file

@ -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
//