2017-05-24, 07:50 PM
Trying to break it put it keeps on working....???
Cleaned out all the other actions and gpio pin definitions.
Here's what I have from openplotter.conf
I short gpio pin 26 to ground and opencpn drops a waypoint at the boat gps position.
[GPIO]
sensors = [[u'test', 'in', u'26', u'up']]
________________
[ACTIONS]
triggers = [[1, u'sensors.test.value', 2, '0', [['ACT2', 'sudo /home/pi/scripts/dropmark.sh', 0.0, 0]]]]
Cleaned out all the other actions and gpio pin definitions.
Here's what I have from openplotter.conf
I short gpio pin 26 to ground and opencpn drops a waypoint at the boat gps position.
[GPIO]
sensors = [[u'test', 'in', u'26', u'up']]
________________
[ACTIONS]
triggers = [[1, u'sensors.test.value', 2, '0', [['ACT2', 'sudo /home/pi/scripts/dropmark.sh', 0.0, 0]]]]