Want you own callsign logo in Pi-Star ?
Step 1 : get MMDVMHost src…….
- a few steps are needed clone https://github.com/g4klx/MMDVMHost
- follow instructions for needed dependencies etc eventually you need to make the bin with make -f Makefile.Pi.OLED
Step 2 : Make a logo, convert it to cpp code and copy it into OLED.cpp
- Make a logo, convert it to cpp code and copy it into OLED.cpp
Follow the instructions on the Pi-Star Logo Maker page.
Step 3 : Make a update file for easy updates
- Make a update file for easy updates in the MMDVMHost directory.
-
run :
cd
cd MMDVMHost
rpi-rw
sudo nano update.sh
Insert this content into the file:
git pull
make -f Makefile.Pi.OLED
sudo service mmdvmhost stop
sudo cp MMDVMHost /usr/local/bin/
sudo service mmdvmhost start
Ctrl-X, Y , enter to save the file, then lets make the file executable with
chmod +x update.sh
and run it, don’t forget to run
rpi-rw
first if the disk is in (ro) mode../update.sh
If all goes well, MMDVMHost service will restart and it will show your logo. π
Important Notice : Read me please !!
-
When Pi-star updates the MMDVMHost binary, the update (sudo pistar-update) will complain that you changed the file, in that case stop service ,delete file, update pi-star and copy your file over the update (see example below).
-
Example 1:
cd
cd MMDVMHost
rpi-rw
sudo service mmdvmhost stop
sudo rm /usr/local/bin/MMDVMHost
sudo pistar-update
rpi-rw
sudo service mmdvmhost stop
sudo cp MMDVMHost /usr/local/bin/MMDVMHost
sudo service mmdvmhost start
-
Example 2:
cd
cd MMDVMHost
rpi-rw
sudo service mmdvmhost stop
sudo rm /usr/local/bin/MMDVMHost
sudo pistar-update
and then run ./update.sh
, donβt forget to run rpi-rw
first if the disk is in (ro) mode.
I hope this helps starting OLED nerds π
Sources which helped getting this project working :