AdaCore / Ada_Drivers_Library

Ada source code and complete sample GNAT projects for selected bare-board platforms supported by GNAT.
BSD 3-Clause "New" or "Revised" License
236 stars 141 forks source link

PCD8544 LCD driver #364

Closed JeremyGrosser closed 3 years ago

JeremyGrosser commented 3 years ago

This is my first attempt at a moderately complex driver, criticism is welcome. I've included an example that works on the STM32_H405 board I recently added. The GPIO pins in the example were chosen so that they should match up with the exposed SPI port on the Feather_STM32F405 board as well, but I haven't tested that yet.

These LCD modules are cheap from eBay, Amazon, SparkFun, Adafruit, etc. and sometimes go by the name "Nokia 5110 LCD"

Fabien-Chouteau commented 3 years ago

Thank you @JeremyGrosser !