3 ms·
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 a
by jwr 12y ago
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.
- tmuir 12y agoThis 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-beaglebone-black/ https://learn.adafruit.com/setting-up-io-python-library-on-b... I think they also have a similar library for the RPi.
- hugogee 12y agoI will second that.