Using class files in Arduino IDE
ive created project called semaforo.ino. i added tab inside of project called flasher. i thought import class using #include "flasher.h" compile error flasher file doesnt exist. here looks like:

here code:
here code:
code: [select]
#include <flasher.h>
flasher led1(12, 100, 400);
flasher led2(13, 350, 350);
void setup()
{
}
void loop()
{
led1.update();
led2.update();
}
Arduino Forum > Using Arduino > Programming Questions > Using class files in Arduino IDE
arduino
Comments
Post a Comment