I am pretty new to Arduino, and brand new to the Due. I have already begun a program using the Arduino Mega2560 and a TFT display w/ capactive touch panel. The program I have is fully functional (with the Mega2560) but unfortunately the Mega2560 only has 8KB of SRAM, and only runs at 16MHz. So, in order to write to the display much faster, and also have more SRAM for storing bitmap arrays, I got the Due. (The 3.3V operating voltage is also nice) Now, I have already downloaded the newer IDE (1.5.1r2 because the 1.5.2 download didn't work) and I am having some issues that I cannot seem to figure out. In my code for the Mega, I have a function (for example) like this:
void TFT_Write_Command(unsigned char command)
PORTA = command;
Of course the error comes up right away that 'PORTA' was not declared in this scope.
I am just trying to use my already written code on the Due for the reasons mentioned above, and need to be able to send out 8-bit parallel data to the display. I have been searching for information on this and can't seem to really find the answer I'm looking for.
If anyone could offer some solutions/suggestions I would really appreciate it!