Search found 5 matches
- Wed Jul 26, 2017 6:24 am
- Forum: ESP8266 boards
- Topic: A "resilient" asynchronous MQTT client
- Replies: 18
- Views: 16249
Re: A "resilient" asynchronous MQTT client
This is looking great! I was able to get your client into a project and have it subscribe and publish perfectly after a little poking around. I had to change https://github.com/peterhinch/micropython-mqtt/blob/master/mqtt_as/mqtt_as.py#L162 to if e.args[0] not in [uerrno.EINPROGRESS, uerrno.ETIMEDOU...
- Sun Jun 18, 2017 5:30 am
- Forum: ESP8266 boards
- Topic: ESP8266: this thing actually works now!
- Replies: 6
- Views: 6021
Re: ESP8266: this thing actually works now!
Glad to hear you got something working. I seem to recall reading about the mqtt issues you had a while back. Looking forward to the asyncio compatible mqtt code as well!
- Thu Feb 23, 2017 10:54 pm
- Forum: ESP8266 boards
- Topic: How do you properly handle external interrupts?
- Replies: 28
- Views: 23080
Re: How do you properly handle external interrupts?
I was just dabbling with this the other day so my incomplete but working example may help. I would also recommend reading dhyland's post at https://forum.micropython.org/viewtopic.php?p=17995#p17995 import machine import micropython import network from time import sleep, sleep_ms, ticks_ms, ticks_di...
- Sun Feb 19, 2017 11:10 pm
- Forum: ESP8266 boards
- Topic: Pin interrupts triggering errantly?
- Replies: 3
- Views: 7711
Re: Pin interrupts triggering errantly?
That was an informative read. Thanks for that. Looking forward to implementing some debouncing strategies now.
- Sun Feb 19, 2017 6:29 am
- Forum: ESP8266 boards
- Topic: Pin interrupts triggering errantly?
- Replies: 3
- Views: 7711
Re: Pin interrupts triggering errantly?
Just echoing that I am seeing the same behavior as you are. It looks like the interrupts are being triggered not just when the specific interrupt state is listed but by any change.