Beaglebone Black running Debian, does device tree overlay act as an api?

Posted by user3953989 on Super User See other posts from Super User or by user3953989
Published on 2014-08-20T02:29:36Z Indexed on 2014/08/20 10:25 UTC
Read the original article Hit count: 156

Filed under:
|

This maybe more of a Linux specific question but...

I've been reading many tutorials and it seems that you can use JavaScript, Python, and C++ to write code for the Beaglebone Black(BBB).

It looks like the way C++ interfaces with the BBB hardware is via reading/writing text files on the OS while Python has it's own library.

All the C++ examples out there control the GPIO and PWM via reading/writing to text files.

Is this the only way to access the hardware or just how Linux does drivers?

© Super User or respective owner

Related posts about linux

Related posts about c++