Search found 2 matches

by U0421011
Mon Jun 10, 2019 7:02 pm
Forum: ESP32 Arduino
Topic: I can't write my data into SDcard
Replies: 0
Views: 3258

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 ...
by U0421011
Mon May 27, 2019 6:07 pm
Forum: ESP-IDF 中文讨论版
Topic: SD卡無法寫入資料
Replies: 1
Views: 4184

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 ...

Go to advanced search