bhunt2 / QC1.0

Design, documentation, and code for our first quadcopter
1 stars 0 forks source link

mraa library on Arduino IDE #13

Closed sabmah closed 8 years ago

sabmah commented 8 years ago

I have looked online on adding mraa library on Arduino IDE but no dice. Can you add the mraa library on Edison?

bhunt2 commented 8 years ago

MRAA library is the basic library that is used by Galileo, Edison, Beaglebone, Raspberry Pi, and other platforms. It is a generic library for I/O that was written so that programs could be non-platform specific. That means, that if done correctly, you should be able to transfer a program you write for the Edison to any of the other platforms and it will work with some caveats. You can't use MRAA with Arduino IDE because Arduino uses a special set of libraries.

Please conduct a quick search for MRAA and Edison and you will find all the information you need about it.

sabmah commented 8 years ago

mraa has a c++ library. So, basically, we have to refrence mraa from arduino IDE by #include "mraa.h" ?