Search found 144 matches

by Jibun no kage
Wed Aug 17, 2022 7:28 pm
Forum: General Discussion and Questions
Topic: ESP vs Pico Timer Declaration?
Replies: 3
Views: 2158

Re: ESP vs Pico Timer Declaration?

That is cool. Thanks for the PR. It will likely be addressed when some other issue is being addressed, and this PR gets some TLC. For now I can get my code as consistent as possible, and leave it at that. Just could not see why the delta existed, when I asked. It seemed like an 'oops' more than an u...
by Jibun no kage
Wed Aug 17, 2022 7:22 pm
Forum: General Discussion and Questions
Topic: Get reference to existing WiFi interface object?
Replies: 2
Views: 1892

Re: Get reference to existing WiFi interface object?

Let me qualify... in mqtt.simple, robust, and mqtt_as modules, the WiFi object, network.WLAN() is owned or hidden by the defined class. So if I want get some element of the the WiFi object, i.e. network.WLAN for example, I can't. Say I want to get the MAC address, for example, I have to do it via <i...
by Jibun no kage
Wed Aug 17, 2022 6:48 pm
Forum: General Discussion and Questions
Topic: Check if UART write is complete?
Replies: 7
Views: 9592

Check if UART write is complete?

I have a UART class that is working well with on exception, is there a way to check if a given write to UART is complete? I have a potential scenario where deinit() of the UART may be called before the last, most recent, write may not be complete, completely transmitted. I set a 1 second wait to add...
by Jibun no kage
Wed Aug 17, 2022 6:32 pm
Forum: General Discussion and Questions
Topic: No 'signal' module for MP?
Replies: 2
Views: 1837

No 'signal' module for MP?

I take it, since I did not find anything about it, that the typical 'signal' module is not implemented in MP as yet? Or may never be as things stand at the moment? Not a problem just asking. I have some python code I was going to port over to MP, with some changes of course, that uses SIGINT, SIGTER...
by Jibun no kage
Wed Aug 17, 2022 2:14 am
Forum: General Discussion and Questions
Topic: Missing something with mqtt simple/robust?
Replies: 4
Views: 2622

Re: Missing something with mqtt simple/robust?

FYI... Just did a quick test on a ESP module, my MP scripts are transportable, I took the time to abstract the bit of code that is different between ESP MP and Pico MP. Test on ESP module, not only did the code work, but the message rate is a bit better on the ESP than the PicoW. The flooding of the...
by Jibun no kage
Wed Aug 17, 2022 2:02 am
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

Re: Looked at 10s of examples of how to compile esp8266 firmware, and none of them actually work?

Thanks for the links... Apparently I never found those via Google... likely lost in the noise of what I found?
by Jibun no kage
Wed Aug 17, 2022 1:59 am
Forum: General Discussion and Questions
Topic: MicroPython with Raspberry Pi Manjaro ....
Replies: 7
Views: 3466

Re: MicroPython with Raspberry Pi Manjaro ....

Yeah, Pi4 was interesting, I have a IP based KVM, that uses dongles, left over server site hardware, so I typically hookup stuff via the Video, Keyboard, dongles. The Pi devices before 4, worked fine as long as the USB or PS/2 dongles did not pull too much current from the USB ports. But the Pi 4 wh...
by Jibun no kage
Wed Aug 17, 2022 1:48 am
Forum: General Discussion and Questions
Topic: ESP vs Pico Timer Declaration?
Replies: 3
Views: 2158

ESP vs Pico Timer Declaration?

Recently was doing some testing across micropython supported controllers, i.e. ports. Pico versus ESP variants. And I discovered the following was required: from machine import Timer if (IsPico() or IsPicoW()): theTimer=Timer(-1, period=1000*60, mode=Timer.PERIODIC, callback=Ping) elif (IsESP01() or...
by Jibun no kage
Wed Aug 17, 2022 12:41 am
Forum: General Discussion and Questions
Topic: Missing something with mqtt simple/robust?
Replies: 4
Views: 2622

Re: Missing something with mqtt simple/robust?

@karfas, Oh, your signature line... "A few hours of debugging might save you from minutes of reading the documentation!" Every time I see that, It cracks me up. I remember a professor of mine back in my university days that said something comparable... "The more time you spend reading the documentat...
by Jibun no kage
Wed Aug 17, 2022 12:35 am
Forum: General Discussion and Questions
Topic: Missing something with mqtt simple/robust?
Replies: 4
Views: 2622

Re: Missing something with mqtt simple/robust?

Actually it was two different things I discovered, the broker was dropping the connection, looking at the robust code, there is a ping method, but apparently it is not being used, or correctly used internally. Once I added the ping method to a timer that was less than the keep alive, the disconnects...