osmosis311, first you need to add #include "application.h" at the top of the .h file. You also don’t need the #include <stdint.h> so you can comment it out.
Thank you! Just made the changes, getting the following errors:
In file included from …/inc/spark_wiring.h:30:0,
from …/inc/application.h:31,
from X10Firecracker.h:6,
from X10Firecracker.cpp:26:
…/…/core-common-lib/SPARK_Firmware_Driver/inc/config.h:12:2: warning: #warning “Defaulting to Release Build” [-Wcpp]
X10Firecracker.cpp: In member function ‘void X10Firecracker::sendCmd(HouseCode, int, CommandCode)’:
X10Firecracker.cpp:109:59: error: ‘pgm_read_word_near’ was not declared in this scope
X10Firecracker.cpp:113:54: error: ‘pgm_read_word_near’ was not declared in this scope
make: *** [X10Firecracker.o] Error 1