LCD3310

Started by penfold, November 06, 2013, 05:36:44 PM

Previous topic - Next topic

penfold

Hi,

I compiled and ran LCD3310 from here: https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/iMX233/MOD-LCD3310

I then plugged in the LCD, and ran the code.  It appears to run, throwing the expected errors if you don't have enough arguments etc. however nothing gets displayed on the LCD.

Have I missed something?





(For future searchers, to compile I used the command: gcc MOD-LCD3310.c lcd3310.h gpio-mmap.h -o lcd   )

olinuxino0000

Check the revision and the schematics (UEXT section) of your board.

The code assumes that the UEXT pins are in 'software' mode wiring (and also I don't know what happens if any of the pins are claimed by a Linux driver).

My rev.C MAXI board arrived with them being set to hardware. The LCD code works if you cut the trace and switch it over to the SW mode (pins 3-2 on SCL_SW/SCL_HW and SDA_SW/SDA_HW.