Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.42 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.42 KB

libsx1509

This project demonstrates interfacing of SX1509 with 96Boards CE Platform using libmraa. SX1509 is a GPIO expander that uses the i2c interface to provide 16 GPIOs all of which are 8bit PWM compatable

Table of Contents

1. Hardware requirements:

  1. Dragonboard 410c or any of 96Boards CE
  2. SX1509 Module
  3. Connecting cables
  4. 4x LEDs
  5. Switch

2. Software

2.1 Operating System

2.2 Package Dependencies

  1. MRAA Library
$ sudo apt-get install libmraa-dev

3. Building and Running:

$ git clone https://github.com/96boards-projects/libsx1509
$ cd libsx1509
$ make
$ ./sx1509

4. Conclusion:

The libsx1509 library provides support for the SX1509 GPIO expander and builds on libmraa. It provides functions such as digitalRead digitalWrite and anaglogWrite in a similar fashion to that of Arduino IDE. For detailed info take a look at the sx1509.cpp and libsx1509.h files.