Update:
Ive managed to get BinaryWrite to work (from Arnouds instructions http://community.wolfram.com/groups/-/m/t/157473) via some buttons like this:
stream = OpenWrite["/sys/class/gpio/gpio18/value",
BinaryFormat -> True]
Button["flash LED",
task = RunScheduledTask[{BinaryWrite[stream, 48], Pause[0.5],
BinaryWrite[stream, 49]}, .5]]
Button["stop Flashing", {RemoveScheduledTask[task],
BinaryWrite[stream, 48]}]
But, I have also noticed that "/sys/class/gpio/gpio18/value doesnt seem to exist until I run DeviceWrite[GPIO, 18->1] on the command line either.
to be cont'd....