STM32 4-bit LCD library
Here is a 4-bit LCD library for the STM32 that I based off of the LCD4BitLibrary for Arduino. It’s lightweight, but it also incorporates Arduino’s Print class.
Here is a 4-bit LCD library for the STM32 that I based off of the LCD4BitLibrary for Arduino. It’s lightweight, but it also incorporates Arduino’s Print class.
Bad Behavior has blocked 63 access attempts in the last 7 days.
Posted on November 20th, 2010 at 5:20 pm
Hi Kevin,
Thank you very much for making the driver available. Recently I decided to become a little more ambitious and attempt to move away from from PIC and PICBasic and start learning about STM32 using the Discovery Evaluation board. I was drawn by STM32 capabilities and cheap evaluation board. I was hoping the migration would be easier though. I seem to have basic problems right at the beginning with tools and code compilation.
What tools are you using in your work ? How your driver can be compiled and loaded onto STM32 discovery. I installed the Atollic True Studio, but don’t seem to be able to compile. Would you be so kind and perhaps provide a little more detailed instruction for beginners like myself. To be honest I’m close to giving up on this and going back to the PIC..
Thank for help in advance
Mike
Posted on November 20th, 2010 at 5:52 pm
I use the CodeSourcery G++ compiler and Makefiles. It is described here:
http://outroot.com/blog/2010/02/26/stm32-project-template-for-hd-devices/
The LCD 4bit code has an examples directory in it with a Makefile to compile for the CodeSourcery G++ compiler.
As far as the STM32 Discovery goes though, I’ve never developed on one so I’m unsure of how to go about it. I’m also unsure if my library will compiler on anything other than the CodeSourcery G++ compiler. I’ve tried IDEs like Atollic True Studio, but I could never get my code to compile right. I had much more success to CodeSourcery g++ and make files.