Hello guys ![]()
I am trying to use the Waveshare 2.4 LCD module for my build: 2.4inch LCD Module.
When using an Arduino Uno and connecting it as depicted here: 2.4inch LCD Module - Arduino Uno hardware connection, everything works fine.
The problem starts when I try using it with an Arduino Mega. I tried plugging it in the same way as the Uno, but other than getting a white screen, I didn't get a response from the screen.
Then I checked each of my Mega pins and found pin 6 and 7 doesn't work as expected so I changed the DC pin from 7 to 3 and changed the code at DEV_Config.h line 51 from #define DEV_DC_PIN 7 to
#define DEV_DC_PIN 3 but unfortunately this didn't work as well.
I am using the supplied library by Waveshare, which can be found here: Demo code download.
VirusTotal scan of the files: Scan.
I believe I am missing something, as this is the first time I'm working with displays. Please guide me on how to overcome this.
Thanks!