Merge pull request #13 from 0x1abin/master

update
This commit is contained in:
M5Stack
2017-08-24 17:32:04 +08:00
committed by GitHub
3 changed files with 21 additions and 1 deletions
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 -1
View File
@@ -1,5 +1,5 @@
#include <M5Stack.h>
// the setup routine runs once when M5Stack starts up
void setup(){