Search found 6 matches

by mvincm
Sun Apr 07, 2019 11:27 pm
Forum: General Discussion and Questions
Topic: Running webserver and other code simultaneously
Replies: 21
Views: 4145

Re: Running webserver and other code simultaneously

Thank you very very much !!! I will follow your link!

Best regards,
MM
by mvincm
Wed Apr 03, 2019 8:57 pm
Forum: General Discussion and Questions
Topic: Running webserver and other code simultaneously
Replies: 21
Views: 4145

Re: Running webserver and other code simultaneously

BTW... I have read a tutorial for uasyncio but I can't understand main difference "call_soon vs create_task". When we should use which function? Like in this example: https://github.com/micropython/micropython-lib/blob/master/uasyncio/example_http_server.py Why we use call_soon instead create_task (...
by mvincm
Tue Apr 02, 2019 12:01 pm
Forum: General Discussion and Questions
Topic: Running webserver and other code simultaneously
Replies: 21
Views: 4145

Re: Running webserver and other code simultaneously

I can confirm. In the main line of uasyncio libs, there is no "False" so the problem is still there...
by mvincm
Tue Apr 02, 2019 8:51 am
Forum: General Discussion and Questions
Topic: Running webserver and other code simultaneously
Replies: 21
Views: 4145

Re: Running webserver and other code simultaneously

@pythoncoder

I think there is some bug in uasyncio lib. More info here:

https://github.com/micropython/micropyt ... issues/335

Could you be so kind and take a look?

Best regards,
MvincM
by mvincm
Sun Sep 17, 2017 11:02 pm
Forum: ESP32 boards
Topic: Picoweb and temperature read in the loop (uasyncio)
Replies: 0
Views: 589

Picoweb and temperature read in the loop (uasyncio)

Hello, I would like to use ESP32 (with micropython) and picoweb to made some thermostat. I will get and set temperature via picoweb "web app". To communicate I will use simple json messages... but I need to check temperature every e.g. 2 minutes, compare it to stored one and turn on or off my heater...