Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Falesh
#37902 On the Arduino I use commands like "PORTD |= _BV(7)" & "PORTD &= ~_BV(7)" to turn pins on and off really quickly. I tried to use this on the NodeMCU ESP8266 but it didn't work. Is there an alternative that can be use with the ESP8266 which is just as fast?
User avatar
By martinayotte
#37905 You can take a look at the file cores/esp8266/core_esp8266_wiring_digital.c how the digitalWrite() is doing it job, but I don't think you can end up with any thing faster, digitalWrite() is already well optimized.