In previous posts, we were introduced to the hardware and made it operational with the kernel module. Soooo... (drum rolls) it's time to write and run a program on the Epiphany chip! But how can one do it? What compiler do I use? What "language" does the Epiphany chip understands? Is it C, C++, assembly, binary, or what?
Embedded devices such as RaspberryPI don't have enough power for running Hadoop jobs. It is a complex piece of software. Instead of trying to adapt it, I decided to use a more "lightweight" solution, which is OpenMPI map-reduce. MPI was designed for distributed computations, so why not run a map-reduce framework on it? Let's do it!
Some time ago I'd an opportunity to play around with BBB. The program presented in this article is collecting data from DS18B20 sensors and stores them in sqlite database. Data are accessible via http (jQuery mobile). I was in hurry while writing the code, so article's content might seem a bit messy. Additionally you may set an alarm, whenever temperature exceeds defined boundaries you'll be notified by email.
In this short article I present a C++ library for GPIO handling on BeagleBone Black. It consists of method which translates between pin head names and pin numbers, it also keeps track of export/unexport operations (some of pins are used by default).