2023-05-23, 01:06 PM
(2023-05-23, 04:56 AM)seandepagnier Wrote: Check if the serial port is setup correctly:
ls - l /dev/serial0
If this points to /dev/ttyAMA0 it should work. In the newer openplotter I believe you can do this from the serial configuration.
Next, ensure the pypilot_hat service is running. You must enable SPI in raspi-config for this to work, but normally the lcd should be autodetected. You should be able to enable it from the interface from running openplotter-pypilot, or by
sudo service pypilot_hat start
sudo service pypilot_hat enable
Here are results from 1st
pi@openplotter:~ $ ls -l /dev/serial0
lrwxrwxrwx 1 root root 7 May 21 07:23 /dev/serial0 -> ttyAMA0
pi@openplotter:~ $ openplotter-pypilot
active
active
active
Settings file not found. Using defaults and creating settings file
Failed to open SPI bus 0, select 0
Using fusion algorithm RTQF
active
(openplotter-pypilot:1867): Gtk-CRITICAL **: 07:34:24.962: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
Here are other commands
pi@openplotter:~ $ sudo service pypilot_hat start~
pypilot_hat: unrecognized service
pi@openplotter:~ $ sudo service pypilot_hat enable
pypilot_hat: unrecognized service
pi@openplotter:~ $