Re:How to blink a light in 10 different programming languages
by mcconnma on Saturday November 07, 2015 @06:06PM
(#10526582)
It is a little more than that as you also need to write alternating state to the file, but you are right, and that is the point of the post. You can read/write embedded sensors/actuators in whatever language you are comfortable by simply reading/writing from the Linux file system.
[ Parent
| on HN ]
Re:How to blink a light in 10 different programming languages
by pjc50 on Saturday November 07, 2015 @06:30PM
(#10526660)
.. on a correctly set up beaglebone, not other systems. It would be much better if this were in the title.
On most embedded systems and FPGAs faffing with the toolchain and hunting in the documentation is 99% of the effort of getting an LED blinking, that's why it's used as the embedded 'hello world'.