15 lines
220 B
Arduino
15 lines
220 B
Arduino
|
#include <M5StickCPlus.h>
|
||
|
void setup() {
|
||
|
M5.begin();
|
||
|
M5.Lcd.fillScreen(WHITE);
|
||
|
|
||
|
pinMode(26, OUTPUT_OPEN_DRAIN);
|
||
|
}
|
||
|
|
||
|
void loop() {
|
||
|
digitalWrite(26, HIGH);
|
||
|
delay(25);
|
||
|
digitalWrite(26, LOW);
|
||
|
delay(25);
|
||
|
}
|