Menu

Home

Thomas
███████╗ █████╗ ███████╗██╗  ██╗██╗  ██╗██╗      ██████╗██████╗  
██╔════╝██╔══██╗██╔════╝██║  ██║██║  ██║██║     ██╔════╝██╔══██╗ 
█████╗  ╚█████╔╝███████╗███████║███████║██║     ██║     ██║  ██║ 
██╔══╝  ██╔══██╗╚════██║╚════██║╚════██║██║     ██║     ██║  ██║ 
██║     ╚█████╔╝███████║     ██║     ██║███████╗╚██████╗██████╔╝ 
╚═╝      ╚════╝ ╚══════╝     ╚═╝     ╚═╝╚══════╝ ╚═════╝╚═════   
                           "PCD8544 Lcd library for pic18"

Note : Work in progress :)

Introduction

Welcome to F8544lcd wiki!

This port is non affiliated, non licensed , non endorsed, and non supported in any way by Adafruit or Microchip.

This lib is a free and individual PIC18F C (XC8) port and rewritten version of two Arduino's C++ libs From Adafruit :

It has been ported and rewritten by Thomas Missonier.

It provides C support to drive a pcd8544 to lcd screens (ex nokia 3310 & 5110) and display on it.

Even if the old Pinguino version is still available (my first port), it's now obsolete and not supported anymore. It has been incorporated in Pinguino core by The Pinguino team and some functionalities have been added (and support for pic32 devices).

[See] (http://www.pinguino.cc)

Known limitations :

  • Can drive only 1 display at time (as original library).
  • No spi Hardware function to drive the screen.
  • This new version supports optional spi eeprom @ 10 mhz (Hardware) and screen is slow (4mhz max), I chosen to use spi software to drive the screen.

New functionalities in 1.2 version :

  • No more support for Pinguino environment/boards , only XC8 (freemode compatible). Can be easily ported to sdcc (not provided).

  • Added support (and init functions) for 25LCXX eeprom chip to reduce footprint and store the font, the display buffer and some bitmaps.

  • Removed all specific functions from Pinguino to replace by standard pics/xc8 functions.

  • This new version is lighter, it s using less space in flash, specially if you use spi eeprom (not mandatory)

  • Tested on pic18F4550 and pic18F4685

License

Ported to Pic18 by Thomas Missonier (sourcezax@users.sourceforge.net).

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice,
    this list of conditions, the others licences below, and the following disclaimer.
  • Redistributions in binary form must reproduce the above notice,
    this list of conditions and the following disclaimer in the documentation
    and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

Adafruit PCD8544

This is a library for our Monochrome Nokia 5110 LCD Displays

Pick one up today in the adafruit shop!
------> http://www.adafruit.com/products/338

These displays use SPI to communicate, 4 or 5 pins are required to
interface

Adafruit invests time and resources providing this open source code,
please support Adafruit and open-source hardware by purchasing
products from Adafruit!

Written by Limor Fried/Ladyada for Adafruit Industries.
BSD license, check license.txt for more information
All text above, and the splash screen below must be included in any redistribution

AdaFruit GFX

This is the core graphics library for all our displays, providing a common
set of graphics primitives (points, lines, circles, etc.). It needs to be
paired with a hardware-specific library for each display device we carry
(to handle the lower-level functions).

Adafruit invests time and resources providing this open source code, please
support Adafruit & open-source hardware by purchasing products from Adafruit!

Copyright (c) 2013 Adafruit Industries. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice,
    this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice,
    this list of conditions and the following disclaimer in the documentation
    and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

Project Members:


MongoDB Logo MongoDB