.ino
files are in Wiring, Arduino’s C++ dialect and go thru a pre compiler which makes it Arduino compatible. To access constants/types like A0
or String
, you have to #include "application.h"
and have your functions to be declared before being used. It was announced some time ago but you’re right, it should be in our documentation.
Edit: Wow, microseconds after @ScruffR