Newbie question - how to include .c file?

I’m trying to get an Arduino 8x8 LED matrix going with my Spark and I feel that I know enough to be quite dangerous…

I’m starting off with the helper libraries from the Spark Thermostat project on Github (

I’ve included the two .cpp and .h files ( Adafruit_GFX and Adafruit_LEDBackpack). When I compile I get an error that says glcdfont.c is missing.

How do you include a .c file? Do you need to make the .c file with the a library with the make file?

Thanks very much in advance,


Hi @jonathanzufi

I made it a .h file which worked great for me. You can see or copy how I did it here: