First I made a new file called "blinky.h" in the Arduino IDE.
When you save the project it should have this structure:
BlinkyClass/
- BlinkyClass.pde
- blinky.h
The .h file had to use a different structure than the main file (see below). See the Arduino Library Tuturial for more info.
