News for hackers. Stuff that matters.
Re:BeagleBone Black GPIOs by jwr on Wednesday August 06, 2014 @05:39PM (#8145012)
Thank you, this is very helpful for people who are experienced with embedded work, but unfamiliar with the BBB. I wish I had this available a couple of months ago, when after figuring things out on my own, I also ended up writing an I2C library (something I never expected would be necessary, it's called LsquaredC).

Platforms like the BBB and RPi have a lot of beginner-level tutorials, but as soon as you try to do anything out of the ordinary (PWM a pin, or issue repeated I2C start), you end up on your own.

Re:BeagleBone Black GPIOs by tmuir on Thursday August 07, 2014 @12:01AM (#8146226)
This tutorial has SPI, I2C, PWM, GPIO, ADC, and UART. Its in Python, but it almost exclusively uses the sysfs interface, so porting it to C, or the language of your choice, should be very simple.

https://learn.adafruit.com/setting-up-io-python-library-on-b...

I think they also have a similar library for the RPi.

Re:BeagleBone Black GPIOs by hugogee on Thursday August 07, 2014 @02:23AM (#8146488)
I will second that.