The
"C" program.
Features Controller setup
The program runs all the time as a daemon, and is started in the rc.local
on the beaglebone. I also discovered an even cheaper version of the beaglebone
called a beaglebone green(BBG), which drops the HDMI output. I opted to go with this
even more barebones version since I did not need HDMI. From bone scratch, I did the
following to the BBG.
I also tweaked up the cron.* directories to eliminate any unnecessary stuff and added a script to update a file called /etc/timestamp with the date once per day. I also tweaked up the way the BBG sets up the time to query a machine on my network for the current date/time. The setting is located in the file /etc/default/ntpdate. Because the BBG does not have a real time clock, setting up the way it handles the date is a little more important. Note the C program waits a bit as it is started before the BBG has established the correct time, as rc.local is fired before the BBG has joined the network. |
©2016 Stabie-Soft, Inc. All Rights Reserved.