This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <M5EPD.h> | |
#include <M5GFX.h> | |
// SDカードに以下のファイルを用意 | |
// /inaba.bmp 540x540 24bit | |
// /inaba2.bmp 270x270 24bit | |
void setup() { | |
M5.begin(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <M5EPD.h> | |
void setup() { | |
M5.begin(); | |
M5.EPD.SetRotation(90); | |
M5.EPD.Clear(true); | |
M5EPD_Canvas canvas(&M5.EPD); | |
canvas.createCanvas(540, 960); | |
canvas.drawBmpFile(SD, "/inaba.bmp", 0, 0); |
NewerOlder