<commit_before>PDC8544 LCD python bindings for the Raspberry Pi
================================================

Documentation and Python library module for interfacing a PCD8544 LCD 
screen to a Rasbperry Pi. Cheap Nokia 5110 modules can be picked up
on ebay with a breakout board for a few pounds.

![PCD8544](https://raw.github.com/rm-hull/pcd8544/master/doc/pcd8544.png) ![Spec](https://raw.github.com/rm-hull/pcd8544/master/doc/tech-spec/spec.png)

Further technical details for the LCD screen can be found in the 
[datasheet](https://raw.github.com/rm-hull/pcd8544/master/doc/tech-spec/datasheet.pdf) [PDF].

Pre-requisites
--------------
Compile and install the wiringPi python bindings from https://github.com/rm-hull/wiringPi. 
This library specifically requires the python binding baked into this software, which have
not been pushed back to drogon.

Next, install PIL (Python Imaging Library) as follows:

    $ sudo apt-get install zlibc libpng3 libfreetype6 libfreetype6-dev python-pip
    $ sudo pip install pillow

Building and installing the software
------------------------------------
After having cloned from github:

    $ python setup.py clean build
    $ sudo python setup.py install

This should install the files in your local dist-files ares (somewhere
like `/usr/local/lib/python2.7/distfiles/pcd8544`).

Next, test at the hardware and software is working:

    $ cd examples
    $ sudo ./alphabet-text.py

Most of the ASCII character set should be displayed. There are a few
other examples of graphics rendering in the same directory.

Wiring schematic<commit_msg>python-dev + libi2c-dev remark & typo in filename<commit_after>PDC8544 LCD python bindings for the Raspberry Pi
================================================

Documentation and Python library module for interfacing a PCD8544 LCD 
screen to a Rasbperry Pi. Cheap Nokia 5110 modules can be picked up
on ebay with a breakout board for a few pounds.

![PCD8544](https://raw.github.com/rm-hull/pcd8544/master/doc/pcd8544.png) ![Spec](https://raw.github.com/rm-hull/pcd8544/master/doc/tech-spec/spec.png)

Further technical details for the LCD screen can be found in the 
[datasheet](https://raw.github.com/rm-hull/pcd8544/master/doc/tech-spec/datasheet.pdf) [PDF].

Pre-requisites
--------------
Compile and install the wiringPi python bindings from https://github.com/rm-hull/wiringPi. Make sure you install both python-dev and libi2c-dev. 
This library specifically requires the python binding baked into this software, which have
not been pushed back to drogon.

Next, install PIL (Python Imaging Library) as follows:

    $ sudo apt-get install zlibc libpng3 libfreetype6 libfreetype6-dev python-pip
    $ sudo pip install pillow

Building and installing the software
------------------------------------
After having cloned from github:

    $ python setup.py clean build
    $ sudo python setup.py install

This should install the files in your local dist-files ares (somewhere
like `/usr/local/lib/python2.7/distfiles/pcd8544`).

Next, test at the hardware and software is working:

    $ cd examples
    $ sudo ./alphabet_text.py

Most of the ASCII character set should be displayed. There are a few
other examples of graphics rendering in the same directory.

Wiring schematic
{'fraction_non_alphanumeric': 0.1288156288156288, 'fraction_numerical': 0.02564102564102564, 'mean_word_length': 3.668091168091168, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5335582', 'n_tokens_mistral': 1034, 'n_tokens_neox': 917, 'n_words': 360}