Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Rock/wiringX

< Rock
Revision as of 02:59, 9 June 2015 by Pavle (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WiringX is a modular approach to several GPIO interfaces. For Rock/pro/lite, wiringX provides interface for GPIO, I2C, SPI and ISR. You can get the source code and find the way to use it on github. Firstly, get wiringX from github:

   git clone https://github.com/wiringX/wiringX.git
   cd wiringX

or

   wget https://github.com/wiringX/wiringX/archive/master.zip
   unzip master.zip
   cd  wiringX-master

Then, install wiringX follow the way on github. When you compile you source, add the dynamic lib like:

   'gcc -o test test.c /usr/local/lib/libwiringX.a

GPIO

I2C

SPI

ISR