emlearn-micropython
emlearn-micropython copied to clipboard
HAR + M5StickC PLUS 2: Display does not work after a reset (for the recoder)
When the recorder is started for the first time, the LCD display stays blank. To reproduce the issue:
mpremote reset
mpremote run har_record.py
The second time the program is executed the LCD display works properly
mpremote reset
mpremote run har_record.py
mpremote run har_record.py
Probably a tempo need to be added between the display initialization and the first display
Hi @colas-sebastien, thank you for reporting. I have observed the same thing at times. Do you have any proposals for a fix?
@jonnor I am working on:
- A fix for the current code. Another issue is if you deploy the har_record.py as main.py because it is like a reset the issue is the same. There is only an impact on LCD display, it seems the recording is working well
- A port of your code or a new one to have the recorder working with the M5Stack micropython 1.24.0 uiflow 2.2.4
Hi @colas-sebastien - were you able to find a fix/workaround that works for the display?
Hi @jonnor I created the following code that is compatible with the M5 micropython. The code directly generate .csv files. https://uiflow2.m5stack.com/?pkey=b867e655215447bfb09caa57ae5dca39 Please select code only on the web IDE. It's still work in progress, if you have time to test it and why not update the timestamp format to be compliant with your code that would be great.