Outroot and things
Electronics, programming, computers, and geek stuff by Kevin Darlington

STM32 4-bit LCD library

STM32 with 4-bit LCD

Here is a 4-bit LCD library for the STM32 that I based off of the LCD4BitLibrary for Arduino. It’s light­weight, but it also incor­po­rates Arduino’s Print class.

http://github.com/outroot/STM32-LCD-4Bit

2 Responses to “STM32 4-bit LCD library” »

  1. Mike Says:

    Hi Kevin,

    Thank you very much for mak­ing the dri­ver avail­able. Recently I decided to become a lit­tle more ambi­tious and attempt to move away from from PIC and PICBa­sic and start learn­ing about STM32 using the Dis­cov­ery Eval­u­a­tion board. I was drawn by STM32 capa­bil­i­ties and cheap eval­u­a­tion board. I was hop­ing the migra­tion would be eas­ier though. I seem to have basic prob­lems right at the begin­ning with tools and code com­pi­la­tion.
    What tools are you using in your work ? How your dri­ver can be com­piled and loaded onto STM32 dis­cov­ery. I installed the Atol­lic True Stu­dio, but don’t seem to be able to com­pile. Would you be so kind and per­haps pro­vide a lit­tle more detailed instruc­tion for begin­ners like myself. To be hon­est I’m close to giv­ing up on this and going back to the PIC..
    Thank for help in advance
    Mike

  2. outroot Says:

    I use the CodeS­ourcery G++ com­piler and Make­files. It is described here:
    http://outroot.com/blog/2010/02/26/stm32-project-template-for-hd-devices/

    The LCD 4bit code has an exam­ples direc­tory in it with a Make­file to com­pile for the CodeS­ourcery G++ compiler.

    As far as the STM32 Dis­cov­ery goes though, I’ve never devel­oped on one so I’m unsure of how to go about it. I’m also unsure if my library will com­piler on any­thing other than the CodeS­ourcery G++ com­piler. I’ve tried IDEs like Atol­lic True Stu­dio, but I could never get my code to com­pile right. I had much more suc­cess to CodeS­ourcery g++ and make files.

Leave a Comment

CommentLuv Enabled

Anti-Spam Protection by WP-SpamFree


Bad Behavior has blocked 63 access attempts in the last 7 days.