News for hackers. Stuff that matters.
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.
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'.

Re:How to blink a light in 10 different programming languages by mcconnma on Tuesday November 10, 2015 @05:12PM (#10542977)
good point, I updated the front matter of the post to make this more explicit.
Re:How to blink a light in 10 different programming languages by joezydeco on Saturday November 07, 2015 @06:36PM (#10526696)
...if your Linux base port has the chip-specific GPIO driver wired up correctly and is enabled in the kernel along with the sysfs interface.