Thursday, October 25, 2018

Screen raspi sentiasa "on" atau awake

sudo nano /etc/lightdm/lightdm.conf

tambah comand line berikut dibawah section [SeatDefaults]

# don't sleep the screen
xserver-command=X -s 0 dpms

save nano anda dan reboot.

Jika masih tidak berjaya, iaitu screen masih sleep selepas beberapa minit, boleh cuba kaedah ini pula.

sudo apt-get update
sudo apt-get install xscreensaver

Kemudian masuk sofware xscreensaver tersebut dan disable

Connect a GPS module to a Raspberry Pi 4

  To connect a GPS module with four wires (RST, TX, VCC, and GND) to a Raspberry Pi 4, follow these steps:  Materials Needed: 1. GPS module ...