Skip to content
Snippets Groups Projects
Commit 63d95862 authored by Kajetan Rzepecki's avatar Kajetan Rzepecki Committed by Scott Lahteine
Browse files

Add FastIO TOGGLE for ESP32 (#13574)

parent 0992d1a4
Branches
Tags
No related merge requests found
...@@ -64,6 +64,9 @@ ...@@ -64,6 +64,9 @@
#define PWM_PIN(P) true #define PWM_PIN(P) true
#define USEABLE_HARDWARE_PWM(P) PWM_PIN(P) #define USEABLE_HARDWARE_PWM(P) PWM_PIN(P)
// Toggle pin value
#define TOGGLE(IO) WRITE(IO, !READ(IO))
// //
// Ports and functions // Ports and functions
// //
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment