Search found 3 matches

by donVictorio
Tue Oct 20, 2020 2:50 pm
Forum: ESP8266 boards
Topic: External interrupts, different behavior between Arduino and MicroPython
Replies: 5
Views: 426

Re: External interrupts, different behavior between Arduino and MicroPython

Thanks for yours suggestions. Over last few days i tried to solve this problem using software approach by codding, flashing ect... without any success. Finally inspired by Roberthh i created hardware solution based on NPN ... but i still dont know why the same circuit behaves differently, driven by ...
by donVictorio
Mon Oct 19, 2020 5:23 pm
Forum: ESP8266 boards
Topic: External interrupts, different behavior between Arduino and MicroPython
Replies: 5
Views: 426

Re: External interrupts, different behavior between Arduino and MicroPython

Thank you for your suggestion Roberthh. Before I posted this topic, I had read and followed your suggestion from this one https://forum.micropython.org/viewtopic.php?f=2&t=6840#p38861 clearing the second interrupt. But result was the same. In the end of the "handle routine" when I call clear_isr the...
by donVictorio
Sun Oct 18, 2020 5:11 pm
Forum: ESP8266 boards
Topic: External interrupts, different behavior between Arduino and MicroPython
Replies: 5
Views: 426

External interrupts, different behavior between Arduino and MicroPython

Hi, I use ESP8266 NodeMcu V3 board and built circuit similar to this one https://i.ytimg.com/vi/eFeOSiL-IBQ/hqdefault.jpg At the beginning I tried to count "frequency" In code bellow i expected -/+ 100 ticks per second (50Hz), but I got 200-208. import micropython micropython.alloc_emergency_excepti...