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

Moderator: igrr

User avatar
By RFZ
#70688 How do I disable the wifi?
I'm pretty sure it's not the pin manipulation or the if statement that takes the time, it's the interrupt handler that just get called with a huge delay...

Edit:
Code: Select all#include <ESP8266WiFi.h>
...
WiFi.mode(WIFI_OFF);


Doesn't change anything
User avatar
By rudy
#70689 From what I have read the ESP8266 does not have good (fast) interrupt handling. It's the old saying, Good, Fast, Cheap, pick two of the three.

If it were possible to do what you want I would think you would have to consider assembly language. Ir not use interrupts. Part of the problem is that there are things going on behind the scenes. So reliable captures probably will not happen all the time.
User avatar
By RFZ
#70691 Hmm, I kind of liked the idea to develop a simple logic analyzer for I2C and maybe other slow/serial protocols with actual decoding done in a nice HTML webinterface...
Guess I'll use one of my ATmega328P boards then ;)