I've been struggling trying to get an I2C interfaced display working (posted elsewhere), as I'm clearly missing something in the LCD driver datasheet. This is for a PIC-based test jig where the display is interfaced via I2C.
Looking at an alternative route, the on-board display driver chip (Sitronix ST7032i) is evidently code-compatible with the HD44780 that I understand is used on the E-Blocks EB005.
I would therefore like to edit the code / Flowcode (V5) to make use of the provided EB005 display driver functions, but converting the parallel (4-bit) output to suit the preordained 8-bit I2C of the tested product. If relatively straightforward I'd be extremely grateful for guidance.
Many thanks in advance.
Brendan.
Converting EB005 display control to I2C
Moderator: Benj
-
- Posts: 243
- Joined: Tue Nov 27, 2012 12:53 pm
- Location: Cambridge, UK
- Has thanked: 140 times
- Been thanked: 118 times
- Contact:
Converting EB005 display control to I2C
LinkedIn Profile...
http://www.linkedin.com/in/brendantownsend
http://www.linkedin.com/in/brendantownsend
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Converting EB005 display control to I2C
Hi Brendan.
Programming Tips & Tricks is not for questions or technical support.
It's only for people who are posting tips,tricks and sharing their working Flowcharts.
So I have moved your post to a more relevant part of the forums.
Martin
Programming Tips & Tricks is not for questions or technical support.
It's only for people who are posting tips,tricks and sharing their working Flowcharts.
So I have moved your post to a more relevant part of the forums.
Martin
Martin
-
- Posts: 243
- Joined: Tue Nov 27, 2012 12:53 pm
- Location: Cambridge, UK
- Has thanked: 140 times
- Been thanked: 118 times
- Contact:
Re: Converting EB005 display control to I2C
Oops... My bad, and apology
Thanks Martin
All the best,
Brendan
Thanks Martin
All the best,
Brendan
LinkedIn Profile...
http://www.linkedin.com/in/brendantownsend
http://www.linkedin.com/in/brendantownsend
-
- Posts: 243
- Joined: Tue Nov 27, 2012 12:53 pm
- Location: Cambridge, UK
- Has thanked: 140 times
- Been thanked: 118 times
- Contact:
Re: Converting EB005 display control to I2C
My original issue has now been resolved and the I2C display now working in native Flowcode (after a critical header byte value was corrected )
My particular thanks to Jac (Kersing) for taking the time to dig out and PM some well-written example 'C' code
All the best,
Brendan
My particular thanks to Jac (Kersing) for taking the time to dig out and PM some well-written example 'C' code
All the best,
Brendan
LinkedIn Profile...
http://www.linkedin.com/in/brendantownsend
http://www.linkedin.com/in/brendantownsend
-
- Posts: 161
- Joined: Sun Feb 25, 2007 10:56 am
- Location: bucharest, romania
- Has thanked: 90 times
- Been thanked: 34 times
- Contact:
Re: Converting EB005 display control to I2C
interesting!
Can you share with us the hardware and flowcode settings? I'm looking for something like that for a long time.
Thanks!
Can you share with us the hardware and flowcode settings? I'm looking for something like that for a long time.
Thanks!
-
- Posts: 243
- Joined: Tue Nov 27, 2012 12:53 pm
- Location: Cambridge, UK
- Has thanked: 140 times
- Been thanked: 118 times
- Contact:
Re: Converting EB005 display control to I2C
Sorry for the (very) late reply.
Here's the code that worked to produce just a one-liner in the LCD (which was enough for the test exercise).
Not entirely clean and slick, but got the job done and off my back
All the best,
Brendan
Here's the code that worked to produce just a one-liner in the LCD (which was enough for the test exercise).
Not entirely clean and slick, but got the job done and off my back
All the best,
Brendan
- Attachments
-
- I2C_Display_Test_WORKING_23-Jun-2013_VerE.fcf
- (43.72 KiB) Downloaded 295 times
LinkedIn Profile...
http://www.linkedin.com/in/brendantownsend
http://www.linkedin.com/in/brendantownsend
-
- Posts: 161
- Joined: Sun Feb 25, 2007 10:56 am
- Location: bucharest, romania
- Has thanked: 90 times
- Been thanked: 34 times
- Contact:
Re: Converting EB005 display control to I2C
It is not so late, it's only one day after a month
Thank you for your reply, I thought you made a custom code for the LCD and we can use LCD natively in Flowcode ...
Any way, thank you again!
Thank you for your reply, I thought you made a custom code for the LCD and we can use LCD natively in Flowcode ...
Any way, thank you again!