Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Dual I2C LCD
Author | Message | ||||
bigmik Guru Joined: 20/06/2011 Location: AustraliaPosts: 2870 |
Gday All, I had a play with the code John Gerrard posted for the maximite to test my MuP I2C multi-bus. I configured two I2C LCD modules, one for address 20 and the other for address 21 and connected them to MuP using 4 wire headers (Data, Clock, +5, GND) each and modified John's `letsmakerobots.com' code to use the uMite commands then modified it to talk to two different I2C LCD modules. If anyone is interested here is the test code.. 2014-06-03_023336_Dual_I2C.zip Regards, Mick Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
vasi Guru Joined: 23/03/2007 Location: RomaniaPosts: 1697 |
Looking great! Hobbit name: Togo Toadfoot of Frogmorton Elvish name: Mablung Miriel Beyound Arduino Lang |
||||
bigmik Guru Joined: 20/06/2011 Location: AustraliaPosts: 2870 |
Thanks Vasi, I was pretty `chuffed' when I saw both LCDs spring to life.. So easy to interface using I2C. Mick Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
jman Guru Joined: 12/06/2011 Location: New ZealandPosts: 711 |
Hi Mick Glad you could use the code Regards Jman (John Gerrard) |
||||
bigmik Guru Joined: 20/06/2011 Location: AustraliaPosts: 2870 |
Hi John, Well thats a long story... Glad you asked.. My I2C displays were not the same pinout as the ones in your demo but I thought I could convert your code to work as your code had all the bits defined.. However I could get Nothing happening (except blinking of the display indicating that it was receiving data).. I pulled what little hair I had left out of my head, assuming that it was the command codes for clear display/new lines etc etc but could not get anywhere converting them to what I thought would be new figures for my units... in the end a 20 minute job with a soldering iron and a magnifying lens, the same power as something Nasa would use, made mine look like your unit.. The rest was easy.. Regards, Mick Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
Print this page |