3 years, 7 months ago.

Library "MSCFilesystem" misses "FATFilesystem.h"

Error: Cannot open source input file "FATFileSystem.h": No such file or directory in "MSCFileSystem/MSCFileSystem.h", Line: 11, Col: 28

#include "mbed.h"
#include "MSCFileSystem.h"

#define WAIT_time 0.20
#define D() wait(WAIT_time)

DigitalOut mled0(LED1);
DigitalOut mled1(LED2);
DigitalOut mled2(LED3);
DigitalOut mled3(LED4);

AnalogIn Ain(p20);

MSCFileSystem fs("fs");

int main() {

    FILE *fp = fopen("/fs/data.csv", "w");
    for (int i = 0; i < 100; i++) {
        printf("%.2f\r\n", Ain.read());
        fprintf(fp,"%.2f\n", Ain.read());
    mled0 = 1;
Be the first to answer this question.