Bodmer / TFT_HX8357

Arduino library for HX8357 TFT display
118 stars 52 forks source link

MEGA support #5

Closed japina closed 7 years ago

japina commented 7 years ago

Hi,

according to README the libraries should work with MEGA, but the Due is ARM based board (Cortex M3) and MEGA is AVR based, so (I guess) this difference brings some errors (missing REG_PIOC_CODR). Do you know anything about it?

Thanks.

Bodmer commented 7 years ago

I do not understand the question, so in the following I am guessing what you may need to know or understand.

I have 2 libraries in my repository, one for the Mega (called TFT_HX8357) and one for the Due (called TFT_HX8357_Due). You need to use the library and examples (these have the correct constructor) according to the hardware you have. Don't forget to set the correct target board in the IDE.