Search found 10 matches
- Thu Oct 13, 2022 2:30 pm
- Forum: ESP32 boards
- Topic: Closing file takes time
- Replies: 3
- Views: 40963
Re: Closing file takes time
Hello Jimmo, Believe me when I say that I searched in the forum before open this topic. I found this thread: https://forum.micropython.org/viewtopic.php?t=4725 But from it I didn't see any information about the huge delay and I decided to open a new topic. We have the ESP32 with spiram (16MB) and FA...
- Thu Oct 13, 2022 9:23 am
- Forum: ESP32 boards
- Topic: Closing file takes time
- Replies: 3
- Views: 40963
Closing file takes time
Hello Team, If you execute this little piece of code: import utime import machine count=0 machine.freq(240000000) while True: with open("test1.json", 'w',buffering=0) as fd: fd.write("hello") fd.flush() utime.sleep_ms(100) You will see that every 89 loops, the micropython 'hangs/freezes' for a 5s !!...
- Wed Nov 03, 2021 9:47 am
- Forum: ESP32 boards
- Topic: ESP32 + Wiznet 5500 or Ethernet module
- Replies: 6
- Views: 4074
ESP32 + Wiznet 5500 or Ethernet module
Hello Team, Can someone clarify me if there is any option to use micropython with any Ethernet module? I read multiple topics on this forum and what I found is that micropython doesn't work with ETH modules because it's made to use Wi-Fi interface. Is it true? Also, I cannot understand why in the la...
- Wed Oct 20, 2021 7:06 am
- Forum: ESP32 boards
- Topic: Max sockets opened at same time
- Replies: 0
- Views: 1279
Max sockets opened at same time
Hello Team, It's been some time since I read that ESP32 had a limit with the number of sockets opened at the same time. I was looking again the information, but unfortunately, I was not able to found it again. So the question is: How many sockets can be opened at the same time with ESP32 and micropy...
- Thu Sep 30, 2021 9:08 am
- Forum: ESP32 boards
- Topic: How ESP32 keeps the time.localtime() without battery?
- Replies: 9
- Views: 3666
Re: How ESP32 keeps the time.localtime() without battery?
Really? Thonny IDE is using rshell? in its "Shell window"? If this is true, this is really dangerous... because how can you test if the ntp.settime() really works? only becaus it doesn't return an exception?
- Thu Sep 30, 2021 9:03 am
- Forum: ESP32 boards
- Topic: How ESP32 keeps the time.localtime() without battery?
- Replies: 9
- Views: 3666
Re: How ESP32 keeps the time.localtime() without battery?
How do you I enter in the REPL rshell? We use Thonny IDE. The boot.py is empty, and we rename the main.py to main1.py, also, once we power on the board with the ESP32-WROVER-E, we click "Stop/restart" (stop icon) button in order to enter to REPL without executing the main program. The board is not ...
- Thu May 20, 2021 7:49 am
- Forum: ESP32 boards
- Topic: Crash unknown
- Replies: 0
- Views: 1388
Crash unknown
Hello Team, Can anyone help me to identify why micropython is crashing? assertion "node->child == NULL && node->next == NULL" failed: file "../../py/pairheap.h", line 88, function: mp_pairheap_push abort() was called at PC 0x40178577 on core 0 ELF file SHA256: 0000000000000000 Backtrace: 0x40095138:...
- Tue Mar 23, 2021 10:43 am
- Forum: ESP32 boards
- Topic: Pin configuration initial transition.
- Replies: 5
- Views: 2870
Re: Pin configuration initial transition.
Thank you for test it, Robert.
Now it make sense. I will try to fix it using pull down resistors.
Now it make sense. I will try to fix it using pull down resistors.
- Tue Mar 23, 2021 7:46 am
- Forum: ESP32 boards
- Topic: Pin configuration initial transition.
- Replies: 5
- Views: 2870
Re: Pin configuration initial transition.
It doesn't work, the same happens. I think that I found a really big bug. See image: https://ibb.co/n6nVbMH I'm using the micropython: MicroPython v1.14 on 2021-02-02; ESP32 module with ESP32 and the output used is the GPIO22. This output is not connected to anything, only one cable to the oscillosc...
- Mon Mar 22, 2021 12:25 pm
- Forum: ESP32 boards
- Topic: Pin configuration initial transition.
- Replies: 5
- Views: 2870
Pin configuration initial transition.
hello Team, I have a little problem configuring the GPIOs with my own board using micropython. I check in the oscilloscope, that if you configure the a GPIO using these methods: pin23 = machine.Pin(23, machine.Pin.OUT) pin23 = machine.Pin(23, machine.Pin.IN,machine.Pin.PULL_DOWN) pin23 = machine.Pin...