Open athallabf opened 2 weeks ago
isi /etc/apt/sources.list
deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
habis ganti sources.list run:
sudo apt update --allow-releaseinfo-change
lupa harusnya update waktu dulu
sudo date -s "7 Nov 2024 14:42"
sesuain sama tanggal sekarang, trus baru
sudo apt update --allow-releaseinfo-change
kode ultrasonic raspi: https://tutorials-raspberrypi.com/raspberry-pi-ultrasonic-sensor-hc-sr04/