Closed uraich closed 3 years ago
I will merge it and trigger a rebuild!
time.sleep
statements, which don't work properly on the JS simulator due to the original upstream port not having complete suspension support.while
loop at the end.while
loops which check how many ticks have elapsed; I'm not sure that this will work properly on the simulator.Wow, his was fast! I took out the while loop from the label 2 example. What do we have to do to get the images straight? Problems are in
else
clause in the header.
_import displaydriver and import utime as time should work in both casesI haven't decided for sure yet, but I am thinking I will tweak the JS simulator so that it can behave like the rest of the ports with regards to the images. Otherwise, we will be forced to have a separate set of image URLs and/or examples.
I went through the lvgl doc and tried all the Python examples. By doing so I found a few bugs in my code and corrected. I still have problems with the examples using images, where the image files are not found. The following examples work with the unix port but give trouble with the javascript simulator: