Open markcummins opened 7 years ago
Great module but had a few small issues getting it working on the latest raspberry pi os.
1: var pilite = require('pilite');
var pilite = require('pilite');
index.js
lib
pilite
2: serialport error, fixed by
device: "/dev/ttyAMA0"
device: "/dev/serial0"
sudo raspi-config
advanced options
serial
login shell
sudo nano /boot/config.txt
enable_uart=1
After that, reboot.
After that, it has started working. I think the main issue was the new pixel os uses the ttyAMA0 serial port for bluetooth.
ttyAMA0
Hi,
Thanks for the feedback. I'll make a change to allow the device location to be defined and mention your suggestions in the readme. Let me know if you have any other issues.
Great module but had a few small issues getting it working on the latest raspberry pi os.
1:
var pilite = require('pilite');
index.js
from thelib
directory up one level to thepilite
directory2: serialport error, fixed by
device: "/dev/ttyAMA0"
todevice: "/dev/serial0"
,sudo raspi-config
, selectingadvanced options
andserial
and disablinglogin shell
sudo nano /boot/config.txt
and addingenable_uart=1
to the end of the fileAfter that, reboot.
After that, it has started working. I think the main issue was the new pixel os uses the
ttyAMA0
serial port for bluetooth.