Beaglebone Black running Debian, does device tree overlay act as an api?
- by user3953989
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?