{"id":2500,"date":"2020-02-09T18:30:24","date_gmt":"2020-02-09T17:30:24","guid":{"rendered":"http:\/\/einstein.amsterdam\/?page_id=2500"},"modified":"2020-02-15T19:52:01","modified_gmt":"2020-02-15T18:52:01","slug":"pi-star-logo","status":"publish","type":"page","link":"https:\/\/einstein.amsterdam\/?page_id=2500","title":{"rendered":"Pi-Star Logo"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2514 aligncenter\" src=\"https:\/\/einstein.amsterdam\/wp-content\/uploads\/pistar-logo-e1581270779283.jpg\" alt=\"\" width=\"406\" height=\"177\" \/><\/p>\n<h1>Want you own callsign logo in Pi-Star ?<\/h1>\n<p><\/center><\/p>\n<hr>\n<p>Step 1 : <strong>get MMDVMHost src&#8230;&#8230;.<\/strong><\/p>\n<ul>a few steps are needed clone https:\/\/github.com\/g4klx\/MMDVMHost<\/ul>\n<ul>follow instructions for needed dependencies etc eventually you need to make the bin with make -f Makefile.Pi.OLED<\/ul>\n<hr>\n<p>Step 2 : <strong>Make a logo, convert it to cpp code and copy it into OLED.cpp<\/strong><\/p>\n<ul>Make a logo, convert it to cpp code and copy it into OLED.cpp<\/p>\n<p>Follow the instructions on the <a href=\"https:\/\/einstein.amsterdam\/?page_id=2568\">Pi-Star Logo Maker<\/a> page.<\/ul>\n<hr>\n<p>Step 3 : <strong>Make a update file for easy updates<\/strong><\/p>\n<ul>Make a update file for easy updates in the MMDVMHost directory.<\/ul>\n<ul>\nrun :<br \/>\n<code>cd<br \/>\ncd MMDVMHost<br \/>\nrpi-rw<br \/>\nsudo nano update.sh<br \/>\n<\/code><br \/>\nInsert this content into the file:<br \/>\n<code>git pull<br \/>\nmake -f Makefile.Pi.OLED<br \/>\nsudo service mmdvmhost stop<br \/>\nsudo cp MMDVMHost \/usr\/local\/bin\/<br \/>\nsudo service mmdvmhost start<br \/>\n<\/code><br \/>\nCtrl-X, Y , enter to save the file, then lets make the file executable with<br \/>\n<code>chmod +x update.sh<br \/>\n<\/code><br \/>\nand run it, don&#8217;t forget to run <code>rpi-rw<\/code> first if the disk is in (ro) mode.<br \/>\n<code>.\/update.sh<br \/>\n<\/code><br \/>\nIf all goes well, MMDVMHost service will restart and it will show your logo. \ud83d\ude42\n<\/ul>\n<hr>\n<p>Important Notice : <strong>Read me please !!<\/strong><\/p>\n<ul>\nWhen 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).\n<\/ul>\n<ul>\nExample 1:<br \/>\n<code>cd<br \/>\ncd MMDVMHost<br \/>\nrpi-rw<br \/>\nsudo service mmdvmhost stop<br \/>\nsudo rm \/usr\/local\/bin\/MMDVMHost<br \/>\nsudo pistar-update<br \/>\nrpi-rw<br \/>\nsudo service mmdvmhost stop<br \/>\nsudo cp MMDVMHost \/usr\/local\/bin\/MMDVMHost<br \/>\nsudo service mmdvmhost start<br \/>\n<\/code><\/ul>\n<ul>\nExample 2:<br \/>\n<code>cd<br \/>\ncd MMDVMHost<br \/>\nrpi-rw<br \/>\nsudo service mmdvmhost stop<br \/>\nsudo rm \/usr\/local\/bin\/MMDVMHost<br \/>\nsudo pistar-update<\/code><\/p>\n<p>and then run <code>.\/update.sh<\/code>, don\u2019t forget to run <code>rpi-rw<\/code> first if the disk is in (ro) mode.\n<\/ul>\n<p>I hope this helps starting OLED nerds \ud83d\ude42<\/p>\n<hr>\n<p><strong>Sources which helped getting this project working :<\/strong><\/p>\n<ul>\n<a href=\"https:\/\/www.f5uii.net\/en\/installation-oled-display-ssd1306-raspberry-pi-mmdvm-mmdvmhost\/\">ssd1305 display<\/a><br \/>\n<a href=\"https:\/\/onlinetexttools.com\/convert-text-to-image\">txt2img<\/a><br \/>\n<a href=\"https:\/\/github.com\/javl\/image2cpp\">image2cpp<\/a><\/ul>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Want you own callsign logo in Pi-Star ? Step 1 : get MMDVMHost src&#8230;&#8230;. a few steps are needed clone https:\/\/github.com\/g4klx\/MMDVMHost follow instructions for needed <a class=\"mh-excerpt-more\" href=\"https:\/\/einstein.amsterdam\/?page_id=2500\" title=\"Pi-Star Logo\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/einstein.amsterdam\/index.php?rest_route=\/wp\/v2\/pages\/2500"}],"collection":[{"href":"https:\/\/einstein.amsterdam\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/einstein.amsterdam\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/einstein.amsterdam\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/einstein.amsterdam\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2500"}],"version-history":[{"count":59,"href":"https:\/\/einstein.amsterdam\/index.php?rest_route=\/wp\/v2\/pages\/2500\/revisions"}],"predecessor-version":[{"id":2662,"href":"https:\/\/einstein.amsterdam\/index.php?rest_route=\/wp\/v2\/pages\/2500\/revisions\/2662"}],"wp:attachment":[{"href":"https:\/\/einstein.amsterdam\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}