Search found 49 matches

by Primesty
Sat Aug 15, 2020 4:52 pm
Forum: Programs, Libraries and Tools
Topic: uasyncio - How detect the end task in another task.
Replies: 50
Views: 32284

Re: uasyncio - How detect the end task in another task.

Hey Pete, I tried installing a daily build on an ESP8266 today to get the latest version of uasyncio on there, but that led to urequests not being available anymore, which only seems to be available in stable versions. Are you aware of any ESP8266 builds, which have all standard libraries including ...
by Primesty
Tue Aug 11, 2020 1:07 pm
Forum: General Discussion and Questions
Topic: Date conversion Y-m-d H:i:s to epoch
Replies: 5
Views: 2626

Re: Date conversion Y-m-d H:i:s to epoch

Awesome, thanks! I'll give that a try!
by Primesty
Sat Aug 08, 2020 1:03 pm
Forum: General Discussion and Questions
Topic: Date conversion Y-m-d H:i:s to epoch
Replies: 5
Views: 2626

Re: Date conversion Y-m-d H:i:s to epoch

Hi, this might be a little tangential, but still related I'm querying an API and get a timestamp as a string returned in a JSON object - I'm using ujson to parse the JSON data and end up with a string like this: '2020-08-08T13:16:00Z' How can I reformat this into something more legible and, more imp...
by Primesty
Sat Aug 08, 2020 12:54 pm
Forum: Programs, Libraries and Tools
Topic: uasyncio - How detect the end task in another task.
Replies: 50
Views: 32284

Re: uasyncio - How detect the end task in another task.

Gotcha, I removed the dangling main() function call

Also, the above error has resolved itself and now it's running smoothly, which means I can now move on to handling the rotary encoder or displaying the temperature.
by Primesty
Fri Aug 07, 2020 8:16 pm
Forum: Programs, Libraries and Tools
Topic: uasyncio - How detect the end task in another task.
Replies: 50
Views: 32284

Re: uasyncio - How detect the end task in another task.

Hi Pete, I got my system up and running again :) I've successfully implemented code that blinks the led *and* reads the temperature at the same time according to your specs and tutorial. One question popped up. When I run this: from machine import Pin, Timer, I2C import dht import time import uasync...
by Primesty
Thu Aug 06, 2020 10:39 pm
Forum: ESP32 boards
Topic: ESP32 CP210x USB to UART Bridge VCP Drivers NOT working on MacBook Pro 2019 after upgrade to Mac OS Catalina 10.15.6
Replies: 1
Views: 3434

Re: ESP32 CP210x USB to UART Bridge VCP Drivers NOT working on MacBook Pro 2019 after upgrade to Mac OS Catalina 10.15.6

I'll reply myself and tell you what I did to get the system running again... You can pretty much follow the thread here: https://www.silabs.com/community/interface/forum.topic.html/cp210x_usb_to_uartbridgevcpdriversnotworking-sYsz And I found some useful tips here as well https://www.silabs.com/comm...
by Primesty
Sun Aug 02, 2020 9:40 pm
Forum: ESP32 boards
Topic: ESP32 CP210x USB to UART Bridge VCP Drivers NOT working on MacBook Pro 2019 after upgrade to Mac OS Catalina 10.15.6
Replies: 1
Views: 3434

ESP32 CP210x USB to UART Bridge VCP Drivers NOT working on MacBook Pro 2019 after upgrade to Mac OS Catalina 10.15.6

Hi, I'm sure I'm not the only MAC user who is affected by this. Has anyone found a work-around? The UART bridge has been working fine with uPyCraft and connections to ESP8266/32. However with the latest update to OS Catalina 10.15.6 on Friday 2020-07-31, nothing works anymore. I can't access any of ...
by Primesty
Sat Aug 01, 2020 3:04 pm
Forum: Programs, Libraries and Tools
Topic: uasyncio - How detect the end task in another task.
Replies: 50
Views: 32284

Re: uasyncio - How detect the end task in another task.

Gotcha! Thanks for the input - once I have my drivers up and running again - I'll continue building the coros.
by Primesty
Fri Jul 31, 2020 7:51 pm
Forum: Programs, Libraries and Tools
Topic: uasyncio - How detect the end task in another task.
Replies: 50
Views: 32284

Re: uasyncio - How detect the end task in another task.

Hi Peter! I was able to re-write the code according to your tutorial so that it's not legacy anymore: from machine import Pin, Timer, I2C import dht import time import uasyncio import gc from my_app import temp_reader led = Pin(2, Pin.OUT) def set_global_exception(): def handle_exception(loop, conte...
by Primesty
Tue Jul 28, 2020 2:07 pm
Forum: Programs, Libraries and Tools
Topic: uasyncio - How detect the end task in another task.
Replies: 50
Views: 32284

Re: uasyncio - How detect the end task in another task.

Will do and re-write according to the tutorial!