I am trying to connect an LCD hat made for Mega2560 to an Arduino Uno #608
-
I have a TFT LCD hat module made for the Arduino Mega2560 laying around and I want to use it for a quick little project. I also have an Arduino Uno R3 and an Arduino Nano, but not Mega2560 onhand. I am very fluent in C programming and I am good at a high level with hardware and also some low level hardware concepts but I am still learning a lot. I understand that MCU's operate on "ports" and that the Arduino framework abstracts ports away from the user. I also found this Instructables article that mentions soldering some wires on to breakout the ports on a Nano board. I have spare Nano's around and if I can make it work I would love to use those for this project rather than the Uno. I have looked through the code a while now and I can not find where you are defining the LCD data pins to their respective pin number on the Uno or the Nano. Since I can't slot the LCD on like a hat I need to be able to wire it up correctly. I understand that I can define Thank you very much for your time. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The databus class AVRPAR8 and 16 are using port directly. |
Beta Was this translation helpful? Give feedback.
The databus class AVRPAR8 and 16 are using port directly.