HD44780 Library update!

Since printing floating points is probably much more important than the speed of this library, I’ve included a new function that allows the printing of floating point numbers! The function explanation is really simple and here it is: int8_t PNumF(float Num, uint8_t X, uint8_t Y, uint8_t Prec)Just like with the standard PNum function, this function […]

HD44780 Library and more!

Well in light of my recent hardware addition, I’ve decided to convert the basis of my HD44780 code into a standalone library. I’ve also added the ability to print signed integer numbers with padding with my whole code including examples compiling to < 3.5k at O0 optimization! Snazzy or what, with O3 optimization, I’ve managed […]

HD44780 LCD with PWM LED Backlight control

And voila! As I said in one of the last two posts (Initial post: https://hsel.co.uk/2014/08/14/stm32f0-discovery-board-and-the-hd44780-lcd/ and integrating a charge pump for backlight control: https://hsel.co.uk/2014/08/14/stm32f0-discovery-board-with-hd44780-and-integrated-charge-pump/), I’ve now included a generic LED backlight PWM controller using one of the standard GPIO pins. I’m using GPIOA Pin 6 to drive the LED backlight and I’ve integrated a 4bit (16 step) backlight […]