run ledOS in vscode with the pio plugin using I2SClocklessLedDriver and ASMParser
code by hpwit
Clone this repo to your harddrive
Flash the code to esp32
-
setup filesysystem: go to arduino ide and run Examples->SPIFFS->SPIFFS_test to initailize correctly the spiff.
-
connect the esp32 with usb to your computer
-
in vscode with pio press upload
-
uplpad the example sc files (in the data folder) to the esp32: in vscode press the alien icon and then Build FileSystem Image and then Upload FileSystem image (do this any time you make changes to these files)
Run LedOS (On Mac)
-
Open a terminal
-
type
screen /dev/cu.usbserial-0001 115200(cu.usbserial-0001 the usb port you see in vscode) -
type help:
-
type
ls -
load the file you want to run
-
press
ctrl-rto run it
-
press
ctrl-eto edit it, press again ctrl-e and then type save -
run it again using
ctrl-r -
to exit ledOS press
ctrl-a\, then press y (to upload files you need to exit first) -
if for some reason vscode/pio cannot upload to esp32 check if no screen process running by
ps -ef |grep screenandkill it by kill -9 pid