Raspberry Pi Lesson: 1.44 inch LCD Hat
1.44″ LCD HAT ini mempunyai TFT dengan pixel 128×128 dan menggunakan controller ST7735. Interface TFT ini menggunakan komunikasi SPI.
Berikut adalah demo 1.44″ LCD HAT
Python Source Code
Sertai Telegram Group bagi dapatkan source code
Hello.
I have copied the program and get the following error:
Python 3.7.3 (/usr/bin/python3)
>>> %Run ‘kleine Display.py’
Traceback (most recent call last):
File “/home/pi/kleine Display.py”, line 46
print “draw line”
^
SyntaxError: Missing parentheses in call to ‘print’. Did you mean print(“draw line”)?
>>>
Ich habe den rasperry pi 3+ mit dem 1.44″ LCD HAT Display.
why does it fail?
Mit freundlichen Grüßen
Günter Müller
it is failing because it was written for python2 while you’re executing it with python3.