Thanks! I found that when I do this, the text does not clear. So, when I add more text, instead of it starting at the top corner again (for example), it adds to it as if the other text were still there but not visible. And if you keep adding text, say in a loop, then eventually it runs of the page and you can't see anything. So, is there no way to totally clear other than manually both moving the cursor and changing the color?
Posts made by kgobes
-
RE: Proper way to clear LCD screen on M5StickC?
-
Proper way to clear LCD screen on M5StickC?
Hi everyone, this feels very simple but I can't find a way in Arduino to clear or reset the LCD screen on the M5StickC. For the stack, I see there is a method: M5.Lcd.clear(BLACK); for example, but it doesn't work on the stick for me.
Any ideas? A makeshift solution is to turn screen black and reset cursor to top, but that feels inefficient. Thanks!
-
Micropython AWS IoT connect/add files to UI Flow?
I'd like to connect my M5StickC to AWS IoT via the UIFlow web console. The MQTT broker block on UIFlow doesn't have the options to include a certificate file needed to connect, so the Micropython tab seems like the only option. However, I don't see a way to upload files to the IDE for the certificates- I could perhaps create them in the code but I'm not sure if that's the best option. Any suggestions? Thanks!
-
RE: Connecting to AWS IoT Core
@blackboxsolar I have the same question.. Have you been able to find anything?
-
RE: How to get UI Flow on to device?
Ah, got it to work! thanks @ajb2k3 I didn't know there was a separate M5 burner tool. For anyone seeing this post in the future with same confusion, here is the doc to follow for downloading m5 burner and flashing your device, these two steps got my device to pull up an API key once it was done, so now I am able to use UI flow- https://docs.m5stack.com/#/en/quick_start/m5stickc/m5stickc_quick_start_with_uiflow
-
RE: How to get UI Flow on to device?
@ajb2k3 I will try to find documentation on this and try it out... UI Flow though was not ever on my M5StickC- I also bought multiple kits and none had it on startup- they go right to the factory mode rotating through accelerometer/speaker, etc. Maybe I have a different version of the stick?
@Pumpui Thanks! This is a good suggestion for an alternative; I think Visuino is block coding. However, I'm really interested just in using Micropython on the device in the easiest way possible, but that doesn't seem to really exist. That's why I wanted to see if UI flow could do micropython. (have tried Thonny which crashes my computer and others that I couldn't find clear documentation on connecting to serial port)
-
RE: How to get UI Flow on to device?
I have the Silicon Labs driver downloaded. I should also add I'm using the M5StickC- I see some posts that maybe it isn't compatible with the Desktop unless it's in USB mode, but my device doesn't go into USB mode because it doesn't have UI flow on it to begin with...
-
RE: How to get UI Flow on to device?
Ok, thanks. So mine doesn't show up with the green bar. It also shows my device is "disconnected" even right after I try to connect, so maybe that is why it is unable to download.. but I don't know why it doesn't stay connected.. I know it is the right port, as it is the same one I used on Arduino
-
RE: How to get UI Flow on to device?
Thanks- this screenshot shows what I've been trying to do- when I click that download icon, nothing seems to happen- what happens for you? And then when I try to "Burn" it says you must download firmware before burning it.
-
RE: How to get UI Flow on to device?
@sjako Thanks for the reply! I don't get the UI Flow splash screen on start up.
-
How to get UI Flow on to device?
I've been using a kit that I purchased from Amazon.com. I've been programming with Arduino, but would like to use UI Flow. All of the tutorials show that UI Flow should show on booting up- but I haven't seen this. There are videos on how to get to "wifi" or "settings" on your device, but mine doesn't do this. I've tried using the Desktop app of UI Flow and tried to use the firmware burner tool, but whenever I try to click the download button, nothing happens, maybe my device is not connected.
I can't find any tutorials on how to get UI flow working on the device without it coming with it already have the software.. any suggestions?
Thanks!