Skip to content

v0.1.2

Choose a tag to compare

@nuraci nuraci released this 06 Nov 04:52

ESP32-4848S040 only: sound on the speaker. The other boards are unchanged: use v0.1.0.

  • audio: beeps, tones and WAV files (PCM, 16 bit, mono or stereo) in the background, with no measurable effect on the animation.
  • buzzer plays through it, so Breakout, Pong, Snake and Simon now have sound on this board.
  • The speaker is on GPIO 1, 2 and 40, which are also the relay pins. Do not use audio or buzzer on a board with the relays fitted.
import audio
audio.beep()
audio.play("/sound.wav")

A sound comes out about 150 ms after the call. A stereo file plays one channel only.

WiFi was already in the firmware and is now measured with LVGL animating: connection, reconnection and HTTP work. Known issue: during a TCP download the animation can stop for about 1 s and drop to 11 redraws per second, at 1 to 6 Mbit/s, cause not found yet. HTTPS not tested.

Tested on hardware: sound by ear, t07_audio.py, t06_wifi.py, Breakout with sound.

Flash, on a board that had other firmware (this erases everything on it, your files too):

esptool.py --chip esp32s3 -p <port> erase_flash
esptool.py --chip esp32s3 -p <port> -b 460800 write_flash 0x0 ESP32_4848S040-v0.1.2.bin

Without erase_flash the board can stop at boot with "The filesystem appears to be corrupted". To update a board already on v0.1.0 or v0.1.1 and keep its files, skip erase_flash.