How do I use enum? - Programming - Arduino Forum The motion enum is local to setup, so it is not accessible outside of setup () Move the declaration before setup () to make it global in scope (and accessibility)
using enums in functions - Arduino Stack Exchange The solution was to move the enum declarations to a header file, due to the fact this was a VM add-in issue which will be resolved once they've implemented arduino version 1 6 8
Cómo usar enums de una librería en arduino | Concentra Información completa sobre el uso de enums en Arduino, incluyendo enums estándar, namespaces y su aplicación con librerías Aprende a mejorar la legibilidad y mantenibilidad de tu código
Use Enum with More Class! - Lucky Resistor This great feature was introduced with C++11 to solve several problems with the regular enum declaration Now I will explain the enum class declaration and demonstrate its practical uses