Search found 2 matches
- Mon Jun 10, 2019 7:02 pm
- Forum: ESP32 Arduino
- Topic: I can't write my data into SDcard
- Replies: 0
- Views: 3059
I can't write my data into SDcard
#include <SD.h> #include <SPI.h> #include <BluetoothSerial.h> BluetoothSerial SerialBT; int key; #define SD_CS 34 void setup() { Serial.begin(115200); SerialBT.begin("ESP32"); SD.begin(SD_CS); if(!SD.begin(SD_CS)) { Serial.println("Card Mount Failed"); return; } uint32_t cardType = SD.cardType(); i...
- Mon May 27, 2019 6:07 pm
- Forum: ESP-IDF 中文讨论版
- Topic: SD卡無法寫入資料
- Replies: 1
- Views: 3841
SD卡無法寫入資料
#include <SD.h> #include <SPI.h> #include <BluetoothSerial.h> BluetoothSerial SerialBT; int key; #define SD_CS 34 void setup() { Serial.begin(115200); SerialBT.begin("ESP32"); SD.begin(SD_CS); if(!SD.begin(SD_CS)) { Serial.println("Card Mount Failed"); return; } uint8_t cardType = SD.cardType(); if(...