Using class files in Arduino IDE

Ive created a project called Semaforo.ino. I added a tab inside of the project called Flasher. I thought I could import the class by using #include "Flasher.h" but I get the compile error that the Flasher file doesnt exist. Here is what it looks like:

Screen Shot 2017-08-07 at 12.32.53 PM.png

Here is the code:

#include <Flasher.h>

Flasher led1(12, 100, 400);
Flasher led2(13, 350, 350);

void setup()

void loop()

Screen Shot 2017-08-07 at 12.32.53 PM.png


#include "Flasher.h"

what does the header file look like? it looks like it is named Flasher, not Flasher.h

When you create a tab if no extension is specified the Arduino IDE gives the file a .ino extension and the file is concatenated to the main sketch file before compilation. If you want the tab to have a different extension (.h, .cpp, .c, .S, .hpp, etc.) You need to specify that extension in the tab name when you create it (in this case Flasher.h).