Touchscreen calibration raspberry pi

20 Jun 2016,
Share: 

วิธี calibration จอ touchscreen raspberry pi

ในบทความนี้ จะอธิบายเกี่ยวกับการ calibration จอ touchscreen ของ raspberry pi โดยจอ touchscreen ที่ใช้คือ Raspberry Pi 7” Touchscreen Display มาเริ่มกันเลยครับ

1.Install xinput calibrator

ติดตั้ง xinput calibrator ด้วยคําสั่ง

sudo apt-get install xinput-calibrator

2.run xinput calibrator

run xinput calibrator โดยใช้คําสั่ง

xinput_calibrator

จะมีหน้าจอสําหรับ calibrate ขึ้นมา ให้กดตามจุดในโปรแกรม

Image

เมื่อกดครบแล้วจะแสดงรายละเอียดของค่า config ให้ copy ไว้(กรอบสีแดง)

Image

3.Update X11 evdev configuration

Update X11 evdev configuration โดยใช้คําสั่งนี้

sudo nano /usr/share/X11/xorg.conf.d/10-evdev.conf

นําค่า config ที่ได้จาก ขั้นตอนที่ 2 เพิ่มเข้าไปตรง touchscreen InputClass

Option "Calibration" "85 726 4 484"

Image

save โดยกด Ctrl+x แล้วตามด้วย y แล้ว enter reboot raspberry pi เสร็จ…

ที่มาของรูปภาพ และข้อมูล swag.raspberrypi.org www.thefanclub.co.za

Suggestion blogs

Ascii คือ อะไร?

Ascii คือ อะไร?ในระบบคอมพิวเตอร์ จะใช้เลขฐานสอง(0, 1) ในการทํางาน เลขฐานสอง 1 ตัว เราจะเรียกว่า 1 bit สามารถแทนสถานะได้ 2 สถานะ คือ 0 กับ 1 ถ้าเรานําเลขฐานสองมาร่วมกัน 8 ตัว(8 bit) เราจะเรียกว่า 1 Byte สามารถใช้แทนสถานะได้ถึง 256 สถานะ(2 ยกกําลัง 8) Ascii เป็นการกําหนดมาตรฐานเพื่อใช้ในระบบคอมพิวเตอร์ และอุกปรณ์ Digitall ต่างๆ โดยนําเลขฐานขนาด 1 Byte มาแทนตัว

การใช้งานคำสั่ง git status

สวัสดีครับ บทความนี้จะมีเนื้อหาการใช้งานคําสั่ง git status เพื่อจะดู Status ของ file ต่างๆ ที่อยุ่ใน Repository ครับ

Config static ip address Raspbian Jessie (Raspberry pi)

หลังจากที่ Raspberry pi ได้ออก OS Raspbian Jessie Kernal version 4.1 เมื่อ 18-03-2016 วิธีการ Config static ip address แบบเดิม วิธี config ip ใน linux ไม่สามารถใช้งานได้


Copyright © 2019 - 2025 thiti.dev |  v1.57.0 |  Privacy policy | 

Build with ❤️ and Astro.

Github profile   Linkedin profile   Instagram   X profile   Nostr   Youtube channel   Telegram   Email contact   วงแหวนเว็บ