O'Reilly logo

Android for the BeagleBone Black by Aravind Prakash, Andrew Henderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exploring the I2C FRAM example app

In this section, we will examine our example Android app that interfaces with the FRAM using I2C on BBB. The purpose of this application is to demonstrate how to use PacktHAL to perform FRAM reads and writes from within an actual app. PacktHAL provides a set of interfacing functions that you will use to work with the FRAM from within your Android apps. These functions allow you to retrieve blocks of data from the FRAM and write new data to be stored on the FRAM. The low-level details of the hardware interfacing are implemented in PacktHAL, so you can quickly and easily get your apps interacting with the FRAM breakout board.

Before digging through the FRAM app's code, you must install the code to your development ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required