Skip to content

[Question] openDir and Dir object #5584

@GMagician

Description

@GMagician

I'm newbie so sorry if this is not correct place to ask

I downloaded library using:
http://arduino.esp8266.com/stable/package_esp8266com_index.json

I have a sketch where I can write files using spiffs but when I try to use openDir I get an error about Dir was not declared in this scope. is there a reason?

I wrote: Dir dir = SPIFFS.openDir("/");
writting: SPIFFS.openDir("/"); compiles correctly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions