Search found 26 matches

by priis
Thu Oct 06, 2022 10:27 am
Forum: General Discussion and Questions
Topic: urequests
Replies: 3
Views: 38473

Re: urequests

Where can I find a more recent version with double precision?
by priis
Thu Oct 06, 2022 8:50 am
Forum: General Discussion and Questions
Topic: urequests
Replies: 3
Views: 38473

urequests

Here is a minimal program (I use an esp32) to get some data from an url: import network import urequests as requests ssid = "myWifi" password = "myPassword" from machine import Pin blueled=Pin(2,Pin.OUT) station = network.WLAN(network.STA_IF) station.active(True) station.connect(ssid, password) i=0 ...
by priis
Thu Oct 06, 2022 8:07 am
Forum: General Discussion and Questions
Topic: Float/Double
Replies: 2
Views: 31718

Re: Float/Double

My problem was solved by installing a double precision firmware found here: https://gitlab.com/rcolistete/micropython-firmwares/-/blob/5a807f7506bc7452a154867c6b130981afd58368/ESP32/v1.12/2020-07-29/Generic_flash-4MB/esp32_idf3_dp_thread_v1.12-663-g693e7395b_2020-07-29.bin But that introduces anothe...
by priis
Wed Oct 05, 2022 7:27 pm
Forum: General Discussion and Questions
Topic: Float/Double
Replies: 2
Views: 31718

Float/Double

Here is a short dummy program: a=1234.123456789 b=1234.123459876 c=b-a print('a,b,c=',a,b,c) print('a={:.9f}'.format(a)) print('b={:.9f}'.format(b)) print('c={:.9f}'.format(c)) Normal python gives the following output: a,b,c= 1234.123456789 1234.123459876 3.0869998681737343e-06 a=1234.123456789 b=12...
by priis
Sun Sep 30, 2018 8:48 am
Forum: ESP32 boards
Topic: pytrack, firmware out of date
Replies: 1
Views: 2181

pytrack, firmware out of date

Now that my pycom wipy seems to work perfectly with my pysense board I substituted the latter with my pytrack board. The following lines were OK: from L76GNSS import L76GNSS from pytrack import Pytrack but after py = Pytrack() I get the following message: Traceback (most recent call last): File "<st...
by priis
Sun Sep 30, 2018 8:31 am
Forum: ESP32 boards
Topic: Time keeping with utime
Replies: 15
Views: 9231

Re: Time keeping with utime

It worked - after changing high speed transfer to a baud rate of 115200!
I'm so grateful for your help, Roberthh!
I do still have a lot of problems but I've better start separate threads....
by priis
Fri Sep 28, 2018 9:48 pm
Forum: ESP32 boards
Topic: Time keeping with utime
Replies: 15
Views: 9231

Re: Time keeping with utime

My hardware is pycom go invent wipy
wifi bluetooth
fcc id: 2ajmtwipy3a
model:wipy3.0
ic: 22263-wipy3r
by priis
Fri Sep 28, 2018 9:16 pm
Forum: ESP32 boards
Topic: Time keeping with utime
Replies: 15
Views: 9231

Re: Time keeping with utime

....I also tried flash download tool v3.6.4. which also fails with a chip sync error:
Invalid head of packet ('\x08').
Will I ever get the firmware updated?
by priis
Fri Sep 28, 2018 8:28 pm
Forum: ESP32 boards
Topic: Time keeping with utime
Replies: 15
Views: 9231

Re: Time keeping with utime

I cannot find the right way to do it. I tried NodeMCU Pyflasher. The console says Connecting............................................._____ for a few seconds - but after that nothing seems to happen. I also tried esptool.py --port COM7 write_flash -fm dio 000000 esp32-20180927-v1.9.4-584-g57a7d5b...
by priis
Thu Sep 27, 2018 4:46 pm
Forum: ESP32 boards
Topic: Time keeping with utime
Replies: 15
Views: 9231

Re: Time keeping with utime

Thanks, I have done that. But again, what is the exact syntax of the esptool command?
I have tried several variations of
esptool.py --chip esp32 --port COM7 write_flash -z 0x1000 esp32-20180927-v1.9.4-584-g57a7d5be9.bin
- none of them works.