salmankhalid29 0 Posted April 19, 2014 Share Posted April 19, 2014 Hi,I got my BBB few days ago and decided to do something to help the BBB community. I found that accessing GPIO and Analog Interface is difficult (without bonescript) when using Linux and accessing them inside a C/C++ application, so I decided to write an arduino like interface for GPIO and Analog. I have plans to add serial, I2C and PWM later. There might be bugs so if you find any let me know. Its very easy to use, there is a test example for both adc and gpio. I need feedback so that it can be improved and more functionalities can be added.Git Hub Link for the Project:https://github.com/salmankhalid-giki...OG/tree/master BeagleBoneBlack_EasyGPIO&ANALOG.zip Automate 1 Quote Link to post Share on other sites
Automate 69 Posted April 19, 2014 Share Posted April 19, 2014 Thanks, I assume these are a lot faster than using python https://github.com/adafruit/adafruit-beaglebone-io-python Do you know what the maximum I/O update rate is? Any support for an event/call-back when an input state changes? Quote Link to post Share on other sites
salmankhalid29 0 Posted April 20, 2014 Author Share Posted April 20, 2014 @@Automate You are right its probably faster than python as it is a native code but I have never checked its maximum I/O update rate however adc is quite slow probably not more than few khz. All GPIO can work as an external interrupt however I have yet added the functionality. I will add interrupts,serial and spi soon Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.