In this tutorial we will learn how to program ESP32 M5Stack StickC with Arduino IDE and Visuino to Display the time on the LCD.
Note: Check this tutorial here on how to Install StickC ESP32 board
Click on the "Text Field1" on the left side to select it, then in the "Properties window" click on color and set it to "aclOrange"
-also in properties windows set X:10 and Y:20 this is where you want to display the time on the LCD
-set size:3 this is the font size of the time
-You can set the text size and color if you want
Close the elements window
Optionally:
Click on "M5 Stack Stick C" Board to select it
In "Properties" window select "Modules" and click "+" to Expand, Select "Display ST7735" and click "+" to expand it and you will see "Background color" this is the default color of the display, change it to your favourite color, you can alse set display brightness, the default is 1 (max) you can set it to 0.5 or some other value to make it more dim
6. Add "Decode (Split) Date/Time" component
7. Add "Formatted text" component
If you power the M5Sticks module, the display should start to show the time.
Congratulations! You have completed your M5Sticks project with Visuino. Also attached is the Visuino project, that I created for this Instructable, you can download it here.
You can download and open it in Visuino: https://www.visuino.com
You can use the current time that was on your computer on the moment you compiled the code in Arduino.
You can download the Project file with this trick here.
In the next tutorial I will show you how to make a Cool Looking watch where you can set the time using the StickC buttons!
Stay tuned and check out my other tutorials here.