M5Stick Hellow World

コンパイルにかなり時間がかかる
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <m5stack.h>
 
// the setup routine runs once when M5Stack starts up
void setup(){
 
  // Initialize the M5Stack object
  M5.begin();
 
  /*
    Power chip connected to gpio21, gpio22, I2C device
    Set battery charging voltage and current
    If used battery, please call this function in your project
  */
  M5.Power.begin();
     
  // LCD display
  M5.Lcd.print("Hello World");
}
 
// the loop routine runs over and over again forever
void loop() {
 
}
</m5stack.h>

コメント

このブログの人気の投稿

Python OpenCVとWebカメラでバーコードリーダー

VB.net Dictionaryクラスの初期化