So I compiled some code on the Atom desktop IDE. It compiled then flashed to my photon and nothing ran?? I switch to the web IDE and tried to compile the same code and got errors about using doubles in function that was expecting floats.
Is this a bug or does the desktop IDE have these pitfalls?
Most likely the problem is that it didn’t build the file you thought it did. The Particle Dev Atom IDE does not build the tab you have open, it builds the tree of files on the left hand side. This document explains it in more detail:
You’re 100% right! So when I created the project I didn’t realise it created a sneaky file in the src folder. It had empty setup and main loops. So it was compiling successfully.