Skip to content

Instantly share code, notes, and snippets.

@haratta27
Created April 8, 2020 11:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haratta27/1ba8ec405d2253e0d6f73b8bfda7177f to your computer and use it in GitHub Desktop.
Save haratta27/1ba8ec405d2253e0d6f73b8bfda7177f to your computer and use it in GitHub Desktop.
#include <M5Stack.h>
void setup(){
M5.begin();
Serial.begin(115200);
M5.Lcd.setTextSize(2);
}
void loop(){
M5.Lcd.println("Hello World!"); //画面表示
Serial.println("Hello world!"); //シリアル通信表示
delay(1000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment