Quantcast
Viewing all articles
Browse latest Browse all 4919

Beginners • Re: wave share 2inch LCD Module wont work

Hi i am very new to the raspberry pi and am struggling to get my LCD module to work, I am on the raspberry pi 4 with the raspberry pi os (64-bit version) I am fallowing this tutorial https://www.waveshare.com/wiki/2inch_LCD_Module with the exact LCD module being used. I have installed the examples and activated SPI, from what i understand i do not need to install any more Library's because the python ones are pre-installed which i have confirmed. but when i enter the command

cd python/examples
ls -l

I get

bash: cd: python/examples: No such file or directory

and then all the files in my home.

the command after this too display the demo also does not work.

I am not sure what's wrong or what to do, been slamming my head against this for like 4 hours now though. if you could help me out that would be awesome.

You are another victim of Waveshare's poor Support.

Their Tutorial is wrong.

They have put the demo scripts in a directory named python/example. There is no trailing 's.' The screenshot in the Waveshare documentation demonstrates this.

Just try

Code:

cd python/example
instead.

It should look like this -

Code:

david@rp58book101064fnvme:~/Support/n123/LCD_Module_RPI_code/RaspberryPi $ cd python/exampledavid@rp58book101064fnvme:~/Support/n123/LCD_Module_RPI_code/RaspberryPi/python/example $ ls -ltotal 44-rw-r--r-- 1 david david 2892 Dec 11  2023 0inch96_LCD_test.py-rw-r--r-- 1 david david 2517 Dec 11  2023 1inch14_LCD_test.py-rw-r--r-- 1 david david 2535 Dec 11  2023 1inch28_LCD_test.py-rw-r--r-- 1 david david 2759 Dec 11  2023 1inch3_LCD_test.py-rw-r--r-- 1 david david 2724 Dec 11  2023 1inch47_LCD_test.py-rw-r--r-- 1 david david 2723 Dec 11  2023 1inch54_LCD_test.py-rw-r--r-- 1 david david 3615 Dec 15  2023 1inch69_LCD_test.py-rw-r--r-- 1 david david 2736 Dec 11  2023 1inch8_LCD_test.py-rw-r--r-- 1 david david 3438 Dec 11  2023 1inch9_LCD_test.py-rw-r--r-- 1 david david 2726 Dec 11  2023 2inch4_LCD_test.py-rw-r--r-- 1 david david 2721 Dec 11  2023 2inch_LCD_test.pydavid@rp58book101064fnvme:~/Support/n123/LCD_Module_RPI_code/RaspberryPi/python/example $ 


At the foot of the webpage you cited is a Green box for feedback. Please consider telling Waveshare about this error.

Statistics: Posted by B.Goode — Sat Jan 18, 2025 8:31 am



Viewing all articles
Browse latest Browse all 4919

Trending Articles