Home › Forums › Mayfly Data Logger › Mayfly sketch compiles, seems to upload, but doesn’t › Reply To: Mayfly sketch compiles, seems to upload, but doesn’t
2023-08-16 at 1:03 PM
#18034
I think that the directory structure could be the culprit. The way that I have been able to reliably get this work is the following:
- Create a new Platformio project.
- Create an identically-named folder in that project in which to put my code.
- Create an identically-named .ino file in that folder for the sketch I need to upload.
- Use the Compare files functionality in VSC to move all of my old code into those new files.
- Compile and upload
So I’m basically re-making the project in platformio and that seems to work.