File tree Expand file tree Collapse file tree
examples/Advanced/Display/HZK16 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33#
44# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
55
6- COMPONENT_SRCDIRS := . src
7- COMPONENT_ADD_INCLUDEDIRS := . src
6+ COMPONENT_SRCDIRS := src src/utility src/Fonts
7+ COMPONENT_ADD_INCLUDEDIRS := src
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ void setup() {
2626
2727 delay (1000 );
2828 // Clear screen
29- M5.Lcd .clear (BLACK );
29+ M5.Lcd .clear ();
3030 // Turn highlight off
3131 M5.Lcd .highlight (false );
3232 M5.Lcd .setCursor (0 ,10 );
@@ -38,7 +38,7 @@ void setup() {
3838 M5.Lcd .printf (GbkStr);
3939
4040 delay (1000 );
41- M5.Lcd .clear (BLACK );
41+ M5.Lcd .clear ();
4242
4343 // Set text size to 2
4444 M5.Lcd .setTextSize (2 );
@@ -51,7 +51,7 @@ void setup() {
5151 M5.Lcd .printf (AscStr);
5252 delay (1000 );
5353
54- M5.Lcd .clear (BLACK );
54+ M5.Lcd .clear ();
5555 M5.Lcd .highlight (false );
5656 M5.Lcd .setCursor (0 ,10 );
5757 M5.Lcd .printf (GbkStr);
@@ -62,7 +62,7 @@ void setup() {
6262
6363 delay (1000 );
6464
65- M5.Lcd .clear (NAVY );
65+ M5.Lcd .clear ();
6666 M5.Lcd .highlight (false );
6767
6868 // Set text with non-transparent back color, BLACK as set at the beginning.
@@ -79,4 +79,4 @@ void setup() {
7979void loop () {
8080 // put your main code here, to run repeatedly:
8181
82- }
82+ }
You can’t perform that action at this time.
0 commit comments