Skip to content

Instantly share code, notes, and snippets.

@hatsunea
Last active June 6, 2021 10:02
Show Gist options
  • Save hatsunea/7ff0b9cdec4870259f9243096c6408ae to your computer and use it in GitHub Desktop.
Save hatsunea/7ff0b9cdec4870259f9243096c6408ae to your computer and use it in GitHub Desktop.
#include <M5Core2.h>
void setup() {
M5.begin(true, false, true);
Serial.begin(115200);
M5.Lcd.setTextSize(2);
M5.Lcd.setTextColor(0xFFFF);
}
void loop() {
M5.Lcd.println("Hello World");
Serial.println("Hello Serial World");
delay(5000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment