mraa
Version:
IO library that helps you use I2c, SPI, gpio, uart, pwm, analog inputs (aio) and more on a number of platforms such as the Intel galileo, the Intel edison and others
86 lines (66 loc) • 2.53 kB
Markdown
libmraa - Low Level Skeleton Library for Communication on GNU/Linux platforms
==============
Libmraa is a C/C++ library with bindings to Python, Javascript and Java to
interface with the I/O on Galileo, Edison & other platforms, with a structured
and sane API where port names/numbering matches the board that you are on. Use
of libmraa does not tie you to specific hardware with board detection done at
runtime you can create portable code that will work across the supported
platforms.
The intent is to make it easier for developers and sensor manufacturers to map
their sensors & actuators on top of supported hardware and to allow control of
low level communication protocol by high level languages & constructs.
## API
These interfaces allow you to interact with all libmraa functionality. The C++
classes directly wrap the C API and provide a near 1:1 mapping of
functionality.
<center>
| C API Modules | C++ API Classes |
|:----------------------:|:----------------------------:|
| gpio.h "gpio" | mraa::Gpio "Gpio class" |
| led.h "led" | mraa::Led "Led class" |
| i2c.h "i2c" | mraa::I2c "I2c class" |
| aio.h "aio" | mraa::Aio "Aio class" |
| pwm.h "pwm" | mraa::Pwm "Pwm class" |
| spi.h "spi" | mraa::Spi "Spi class" |
| uart.h "uart" | mraa::Uart "Uart class" |
| common.h "common" | mraa "common" |
</center>
### Hello Mraa
hellomraa.c Interesting
## Supported platforms
Specific platform information for supported platforms is documented here:
- galileorevd
- galileorevh
- edison
- de3815
- minnowmax
- rasppi
- bananapi
- beaglebone
- phyboard-wega
- nuc5
- up
- up2
- joule
- ft4222
- _96boards
- de10-nano
- firmata
- grovepi
- mock
- linkit_7688
- omega2
## DEBUGGING
Sometimes it just doesn't want to work, let us try and help you, you can file
issues in github or join us in #mraa on freenode IRC, hang around for a little
while because we're not necessarily on 24/7, but we'll get back to you! Have a
glance at our debugging page too
## COMPILING
More information on compiling is building page.
## STATIC CODE ANALYSIS
See static_code_analysis page.
## CONTRIBUTING
Please see the contributing page, the internals page may also be of
use.
## API Changelog
Version changelog here.