The Tutorial acknowledges that the sample program will have to be modified for the SPI pinout on the Mega 2560, but it does not mention that the Uno pinouts are hard coded in the HX8340B driver also. A couple of sample lines from ::begin are: pinMode (13, OUTPUT); and pinMode(11, OUTPUT); clkpinmask and datapinmask also use these pin numbers. At the end of that driver, there is an if defined section that lists most Arduino models, but not the Mega 2560. No idea what to change here...
With the current driver, hardware SPI mode just results in a blank screen. My reaction was Oh no - bad hardware! Funny part was SD card access worked fine. Hardware SPI is required to work to use the SD card.
Using software SPI, I could at least see most tests working. Some like testfillrects fail to a white screen (no test after a failing test work).
Based on what I see in the HX8340B driver, I think this is probably lack of Mega 2560 support also.
Finally my request: Can we get the HX8340B driver upgraded to support the Mega 2560, or at least warn folks in the tutorial that it won't work? Would save others a lot of time.
Really nice display and worth the pain...

