#include <Arduino.h>
#include <ikakoM5SD.h>
#include <M5Stack.h>
ikakoM5SD sd(&SD);
void setup()
{
M5.begin(true, false);
sd.setup();
sd.create_dir("/hoge");
sd.write_file("/hoge/hoge.txt", "hoge\n");
sd.append_file("/hoge/hoge.txt", "hoge hoge hoge hoge\n");
Serial.printf("type:%d size:%d ", sd.get_card_type(), sd.get_card_size());
Serial.println("");
}
void loop()
{
}
-
Notifications
You must be signed in to change notification settings - Fork 0
Kyaramel/ikako_M5_SD
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
m5stack用のsdカードプログラムをまとめただけ
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published