You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
void loop()
{
if(flag)
Serial.println("File creation success");
else
Serial.println("File creation unsuccess");
delay(1000);
}`
CODE BUT ALL TIME I GOT FILE CREATION UNSUCCESS. ANYBODY GOT SUCCESS WITH THIS. I AM USING ESP32 AND REQUIRE TO WRITE AND READ DATA IN TO FILE SO HELP IN TO THIS MATTER.
The text was updated successfully, but these errors were encountered:
I AM USING `#include<SerialFlash.h>
#include<SPI.h>
SerialFlashFile file;
int flag=0;
void setup()
{
Serial.begin(115200);
//SPI.begin;
SPISettings(16000000, MSBFIRST, SPI_MODE0);
flag=SerialFlash.create("HELLO.RAW",1024);
}
void loop()
{
if(flag)
Serial.println("File creation success");
else
Serial.println("File creation unsuccess");
delay(1000);
}`
CODE BUT ALL TIME I GOT FILE CREATION UNSUCCESS. ANYBODY GOT SUCCESS WITH THIS. I AM USING ESP32 AND REQUIRE TO WRITE AND READ DATA IN TO FILE SO HELP IN TO THIS MATTER.
The text was updated successfully, but these errors were encountered: