Hi,
I'm am looking at porting the Adafruit_ILI9341 library to another microprocessor.
I have attempted to port the init, writecommand, writedata and drawpixel functions already with little luck.
any hints or tips on doing this would be appreciated,
Regards,
Ciaran
Porting Adafruit ILI9341 Library
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Porting Adafruit ILI9341 Library
Nothing specific. Start with the low-level code that handles communication with the display first. Most of the higher-level code should work on any platform.
- CiaranLappin
- Posts: 8
- Joined: Thu Sep 29, 2016 11:39 am
Re: Porting Adafruit ILI9341 Library
Thanks for getting back to me. you wouldn't know what driver version the LCD get shipped with, can't find the version code to compare it.
Thanks a million
Ciaran
Thanks a million
Ciaran
- adafruit2
- Posts: 22148
- Joined: Fri Mar 11, 2005 7:36 pm
Re: Porting Adafruit ILI9341 Library
theres no real 'version' for the ILI9341 that we know of - the init code we have in the library works so please use that :)
- CiaranLappin
- Posts: 8
- Joined: Thu Sep 29, 2016 11:39 am
Re: Porting Adafruit ILI9341 Library
Will do, thanks. I'll close this post once I get to a PC. Thanks for your help.
- CiaranLappin
- Posts: 8
- Joined: Thu Sep 29, 2016 11:39 am
Re: Porting Adafruit ILI9341 Library
hi,
just one follow comment.
On the arduino, is the SPI output clock constantly running or just for the transaction?
I'm able to see data and commands being written to the display via the scope, but the screen isn't reacting. e.g. Using the display off command and not seeing a response.
Any ideas?
just one follow comment.
On the arduino, is the SPI output clock constantly running or just for the transaction?
I'm able to see data and commands being written to the display via the scope, but the screen isn't reacting. e.g. Using the display off command and not seeing a response.
Any ideas?
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Porting Adafruit ILI9341 Library
The Arduino's SPI clock is derived from the system clock, so it's always running.
- CiaranLappin
- Posts: 8
- Joined: Thu Sep 29, 2016 11:39 am
Re: Porting Adafruit ILI9341 Library
Thanks for everything so far Mike.
I have managed to get the display to turn off and on using the commands. I'm sure these are only one byte commands though.
I have managed to get the display to turn off and on using the commands. I'm sure these are only one byte commands though.
Please be positive and constructive with your questions and comments.