Pi and Arduino are completely, totally, entirely, 100% different. It is not simply a matter of pin locations. Processor architecture is different, peripheral architecture is different, Pi runs linux, Arduino has no operating system, etc.voyager99 wrote:Thanks, yeah, I get that!
I also understand the need for different screen designs with different physical
pin locations to match specific hardware (for the variety of Arduino's / Pi's, etc
that are available), but given that the wiring changes are accounted for,
I'm a little surprised that the drivers would be written for specific devices only.
It should have been possible to write generic drivers and include *.h files
for the specific hardware.
That said, it is not particularly difficult to port an Arduino library to python, and then run the python on a Pi. However, a python port of the HX8357 Arduino library would not be able to function as a console display on a Pi. It could only operate as an application display. Console display functionality requires a kernel-mode driver in linux. That's what is in the PiTFT fork of raspbian
-----------------
intensivex: That looks right to me!