Search found 144 matches
- Tue Aug 16, 2022 7:28 pm
- Forum: General Discussion and Questions
- Topic: Missing something with mqtt simple/robust?
- Replies: 4
- Views: 2621
Missing something with mqtt simple/robust?
Been playing with native MP variants of MQTT simple and robust, and after (whatever I set the keep alive value to) I see both wait_msg and check_msg drop an OSError -1 when debug is enabled. If was my understanding that robust, check_msg would not let the broker drop connection? Did I misunderstand ...
- Tue Aug 16, 2022 7:14 pm
- Forum: General Discussion and Questions
- Topic: Interrupt handler for UART
- Replies: 7
- Views: 4159
Re: Interrupt handler for UART
Using mqtt simple and robust (original, not simple2 or robust2) if I send MQTT messages too fast I can flood the ESP01 or any ESP8266. Typically I get a recursive (stack exhausted) error, but this is misleading, because I am not using uasyncio, I think something is getting crushed as the requests ar...
- Tue Aug 16, 2022 6:57 pm
- Forum: ESP8266 boards
- Topic: Oled and Led on an esp01
- Replies: 8
- Views: 36877
Re: Oled and Led on an esp01
Yeah, in my case the following worked: 1) Full erase before flash 2) Flash either 512K or 1M MP image with mode as DOUT 3) Of course you have to make sure ESP01 is on 'flash' mode/programming mode For some reason the ESP01s I had required DOUT mode. None of my ESP32 or ESP8266 (MCU, etc.) variants n...
- Tue Aug 16, 2022 6:09 am
- Forum: General Discussion and Questions
- Topic: Easy way to emulate str 'capitalize' function?
- Replies: 4
- Views: 5771
Easy way to emulate str 'capitalize' function?
Easy way to emulate str 'capitalize' function? Since such is not part of the core of MP?
- Mon Aug 15, 2022 8:36 pm
- Forum: Development of MicroPython
- Topic: Looked at 10s of examples of how to compile esp8266 firmware, and none of them actually work?
- Replies: 4
- Views: 31899
Looked at 10s of examples of how to compile esp8266 firmware, and none of them actually work?
Looked at 10s of examples of how to compile esp8266 firmware, and none of them actually work? Every one I have tried either crashes trying to create the tool chain (or chokes on some thing odd, like bash 3.1 not found when bash 5.1 is installed. I was able to create the MicroPython Unix port as illu...
- Mon Aug 15, 2022 4:42 pm
- Forum: General Discussion and Questions
- Topic: ESP01 1M Flash 512 and 1M MicroPython Neither Responds?
- Replies: 18
- Views: 31332
Re: ESP01 1M Flash 512 and 1M MicroPython Neither Responds?
Yeah. Pretty much. I will need to generate my own flash image, limited to UART and MQTT scope (or as much as possible) to finish my solution design. Now to learn how do that is going to be interesting. My C is a bit rusty... ah, 'Rust' no pun intended, that is on the list to learn that as well. Refe...
- Mon Aug 15, 2022 4:33 pm
- Forum: General Discussion and Questions
- Topic: ESP01 1M Flash 512 and 1M MicroPython Neither Responds?
- Replies: 18
- Views: 31332
Re: ESP01 1M Flash 512 and 1M MicroPython Neither Responds?
I thought only the 512 variant lacked the file system? I got the 1MB variant of the image working just fine once got the write flash configuration right, turned out I had to completely erase and then set the flash mode do DOUT for the ESP01 modules I have and the bootloader USB device I used. I am l...
- Mon Aug 15, 2022 4:23 pm
- Forum: General Discussion and Questions
- Topic: The ntptime module documenation is confusing?
- Replies: 3
- Views: 118654
Re: The ntptime module documenation is confusing?
Yeah, I did some more testing, and got the ntptime.settime to honor UTC. But, yes, documentation being wrong just added to the confusion when my initial test returned non UTC.
- Mon Aug 15, 2022 2:16 am
- Forum: General Discussion and Questions
- Topic: The ntptime module documenation is confusing?
- Replies: 3
- Views: 118654
The ntptime module documenation is confusing?
The top section states that UTC is used. But later the default timezone is set to 8? Eastern Eight District? And when, on Pico I try to set the timezone=0, I get 'unexpected keyword argument 'timezone'... Color me confused. How do I force ntptime.settime() method to maintain UTC? Which is what NTP s...
- Sun Aug 14, 2022 7:30 pm
- Forum: General Discussion and Questions
- Topic: CEC protocol support from MicroPython?
- Replies: 1
- Views: 1795
CEC protocol support from MicroPython?
CEC protocol support from MicroPython? I know, this is has to be an example of 'bridge to far' pun intended. But in the middle of breakfast burrito this morning, the thought occurred. Does any microcontroller... cough... other than as Raspberry Pi, which is a computer not a microcontroller IMHO... h...