Search found 4 matches

by leob
Thu Mar 11, 2021 7:41 am
Forum: ESP32 boards
Topic: Timer and time.sleep function
Replies: 4
Views: 5403

Re: Timer and time.sleep function

Hello Jimmo, thanks for your reply! I prepared this piece of testing code. When you startup the board, you will see the "Salt Alarm ON" and "Salt Alarm OFF" regularly until saltAlarmBuzzer() starts and block everything with its sleep of 0.6 seconds. When checkSalt is called, everything is stopped un...
by leob
Wed Mar 10, 2021 8:46 pm
Forum: ESP32 boards
Topic: Timer and time.sleep function
Replies: 4
Views: 5403

Timer and time.sleep function

Hi all, I'm using micropython 1.14 on ESP32 board and I'm new to micropython. I'm using timers to run some tasks on the board and I have a loop where I read values 10 times the value of a sensor and then give back the average of the value. The loop has a time.sleep of 1 second at the end to give 1 s...
by leob
Wed Sep 30, 2020 7:08 pm
Forum: ESP32 boards
Topic: ESP32 4 MB flash?
Replies: 3
Views: 2169

Re: ESP32 4 MB flash?

Thank you Robert for your answer, but I was expecting a difference between the SPIRAM firmware and the generic firmware about the free memory but it is almost the same and I continue to see the error "SPI RAM not initialized" using the SPIRAM firmware. Why I'm getting this error in your opinion? Tha...
by leob
Mon Sep 28, 2020 8:37 pm
Forum: ESP32 boards
Topic: ESP32 4 MB flash?
Replies: 3
Views: 2169

ESP32 4 MB flash?

Hello all, I have a board with ESP32-WROOMD chip. I uploaded the micropython firmware and with SPIRAM version I got back an error during the init phase where it returns the message spiram: SPI RAM enabled but initialization failed. Bailing out. Using the generic version without SPIRAM everything is ...