We will be closed on November 25, 2021 and November 26, 2021 in observance of the Thanksgiving holiday. We will resume normal operations on November 29, 2021. Wishing you a safe and happy holiday from all your friends at SparkFun!
Receive a free SparkFun USB Thumb Drive with every order this weekend. Details.
Track My Order
Frequently Asked Questions
International Shipping Info
Mon-Fri, 9am to 12pm and
1pm to 5pm U.S. Mountain Time:
December 29, 2009
about 11 years ago
I used port C on my 18F for the outputs to the Nokia lcd...
// Matches Sparkfun Pinouts
#define nok_cs PIN_C0 // 3-SCE
#define nok_res PIN_C1 // 4-RST
#define nok_dc PIN_C2 // 5-D/C
#define nok_sda PIN_C3 // 6-DN(MOSI)
#define nok_sclk PIN_C4 // 7-SCLK
#define bk_sel PIN_C5 // 8-LED
(your PIC specific includes)
#include "nokia5110Driver.h" // download from post below
nokia_init(); // initialize nokia lcd
nokia_gotoxy(8,0); // position in x, y
printf(nokia_printchar," Hello World "); //refer to the nokia driver include for formatting
Has anyone created an eagle footprint for this? I'll be doing so when the order arrives. Basically just the outline with mounting holes and the 8 pin header.
Cadsoft eagle library for Nokia 5110 - Nokia 5110 Eagle lbr
Modified C Driver for Microchip PIC 16, 18 series with backlight control (for Sparkfun pinouts) - Nokia 5110 PIC C Driver
Somebody should permanently host these files, any takers?
No public wish lists :(