Skip to content

phfbertoleti/bacon_cape_lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bacon_cape_lib

Repository of bacon_cape_lib, a C library for the Beaglebone Black's cape Bacon Cape.

This library is under development. At this moment it covers the following Bacon Cape features:

  • LEDs turn-on/turn-off (no LEDs PWM suported at this moment)
  • Slider read
  • EEPROM write and read (to write EEPROM, a little hardware hack is needed: short-circuit C2 capacitor)
  • 7-segment display (for alfanum chars from 0 to F)
  • Accelerometer raw measuring (x, y and z axis) and scale/sensitivity setting.

Also, this repository contains two examples:

  • lib_validator: a simple program to validate all features covered by the bacon_cape_lib
  • mqtt_example: a simple program to interact with LEDs, slider and button over Internet using MQTT protocol. For this example, Paho MQTT C library is required. By doing this, you can get your Bacon Cape's information in a dashboard using MQTT Dash App, for example:

MQTT Dash App

The bacon cape library is Doxygen compatible. This means it can be generated based on its source code executng the following command: doxygen doxygen_config_file

About

Repositório oficial da biblioteca C da Bacon Cape (https://elinux.org/Bacon_Cape)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published