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.

Member #430247

Member Since: April 18, 2013

Country: United States

  • Hi zeal370, thank you for this information.

    Hope the comment stays here and is found by anyone else trying to follow the quickstart example. I did get things working using other examples, most excellently with Henning Karlsen's code found here: http://www.henningkarlsen.com/electronics/library.php?id=44 which allowed larger number fonts.

  • I liked the lesson and worked through the addition examples; my mileage varied. Compile sizes were different and all the elapsed times were "4" except for the float example at "8". Glad my board (Uno R3) seems to work better ;)

  • Help very welcome for this, in spite of my best newbie efforts I get a set of errors every time I try the first example from this page. I have made sure that the library files are properly set up and will describe that setup after the errors. Error messages are:

    In file included from sketch_Nokia_5110_LCD_example1.ino:1:
    C:\Documents and Settings\Andrew\My Documents\Arduino\libraries \Adafruit_PCD8544/Adafruit_PCD8544.h:52: error: expected class-name before '{' token
    sketch_Nokia_5110_LCD_example1:5: error: 'PCD8544' does not name a type
    sketch_Nokia_5110_LCD_example1.ino: In function 'void setup()':
    sketch_Nokia_5110_LCD_example1:9: error: 'nokia' was not declared in this scope
    sketch_Nokia_5110_LCD_example1.ino: In function 'void loop()':

    sketch_Nokia_5110_LCD_example1:19: error: 'nokia' was not declared in this scope

    At present my Arduino folders are set up as follows: My Documents Arduino libraries Adafruit_GFX Adafruit_GFX.cpp Adafruit_GFX.h Adafruit_PCD8544 Adafruit_PCD8544.cpp Adafruit_PCD8544.h sketch_Nokia_5110_LCD_example1 sketch... arduino-1.0.4 drivers examples hardware java lib libraries reference tools

    Some other demo sketches have worked so I know that my display and wiring are okay...it is just the compile error that is driving me mad for this one. I want fix it, though, to know what the problem was. None of the other sketches used .include statements so they are bulky code.

  • Hi - for some reason (way above my "new to s/w" head) the code hates the \ character, even in comments. If you take out the backslash in the character definition section it works. My tweak is:

    ... ,{0x00, 0x7f, 0x41, 0x41, 0x00} // 5b [ ,{0x02, 0x04, 0x08, 0x10, 0x20} // 5c backslash - presence of backslash even in comments invalidated next row of characters ,{0x00, 0x41, 0x41, 0x7f, 0x00} // 5d ]


    For what it is worth, I was using Arduino v1.0.4 .

No public wish lists :(