mirror of
https://github.com/m5stack/M5Stack.git
synced 2026-05-20 10:06:46 -07:00
Submodule
+1
Submodule examples/Advanced/Snake added at 46ae3319ef
@@ -0,0 +1,19 @@
|
||||
#include <M5Stack.h>
|
||||
|
||||
void setup(void) {
|
||||
|
||||
M5.begin();
|
||||
M5.Lcd.fillScreen(BLACK);
|
||||
|
||||
Serial.print("Initializing SD card...");
|
||||
if (!SD.begin(TFCARD_CS_PIN)) {
|
||||
Serial.println("failed!");
|
||||
}
|
||||
Serial.println("OK!");
|
||||
|
||||
M5.Lcd.bmpDraw("/bmp1.bmp", 0, 0);
|
||||
}
|
||||
|
||||
void loop() {
|
||||
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <M5Stack.h>
|
||||
|
||||
|
||||
// the setup routine runs once when M5Stack starts up
|
||||
void setup(){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user