DDU_Exammen/Base/Base.ino

15 lines
220 B
C++

#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);
}