Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adafruit Nokia lcd library ported to Pinguino!
31-03-2014, 01:58 AM, (This post was last modified: 31-03-2014, 03:06 AM by Callmea.)
Smile  Adafruit Nokia lcd library ported to Pinguino!
Hello Pinguino community!

I have mixed two Arduino's libraries into one to drive a monochrome nokia lcd (3310/5110) with Pinguino's boards :

-Adafruit PCD8544 and Adafruit GFX.

It's a complete library with graphic primitives, buffer, and text.

I just shared it on sourceforge :

I have ported it from C++ to C, optimized portions of code, rewritten some functions, writting documentation and added some simple examples.

IThis a is an alpha release, it needs to be more optimized (i'm new to sdcc/pic programming), and there is only software spi implementation for the moment but it works Smile

Only tested on PIC18F4550 because I've got only PIC18F4550 boards.

Hope you will be satisfied, and if you have any question (or bug/test reports or suggestions), don't hesitate to contact me Smile

Note : I kept the adafruit Logo and ads in the sources as asked by adafruit in their license.

Best Regards,
09-10-2014, 06:49 PM,
RE: Adafruit Nokia lcd library ported to Pinguino!
WOW thank you sooo much! invaluable
10-10-2014, 10:43 AM,
RE: Adafruit Nokia lcd library ported to Pinguino!
(31-03-2014, 01:58 AM)Callmea Wrote: Salut Thomas,

I copied the files as described in the readme.txt files and the functions get recognized (so the pdl files is read). When I compile, I get a weird error:

In file included from C:\pinguino-ide\v11\user\source\/define.h:7,
                from C:\pinguino-ide\v11\user\source\main.c:56:
C:/pinguino-ide/libraries/p8/include/pinguino/libraries/f8544lcd.c:139:19: fatal error: delay.c: No such file or directory
compilation terminated.
Processor: 18f4550
sdcc: Calling preprocessor...
sdcc: Generating code...
/dvpt/pinguino/git-copy/pinguino-compilers/sources/sdcc/src/pic16/main.c:701 setting interrupt vector addresses 0xc00
especially as the delay.c file is part of the core.
I use IDE 11.x

Ciao Mathias
14-10-2014, 10:33 AM,
RE: Adafruit Nokia lcd library ported to Pinguino!
This library has been adapted and implemented in Pinguino.
You can find some examples in 07.Display/PCD8544
It is easier to complain than it is to do, but it is better to do than it is to complain.

Forum Jump:

Users browsing this thread: 1 Guest(s)