Skip to content

sparkfun/SparkFun_PWM_Block_for_Edison_CPP_Library

Repository files navigation

SparkFun PWM Block for Edison C++ Library

The SparkFun PWM Block allows you to add 8 channels of I2C controlled PWM to your Edison stack. This library, and the example code included with it, will get you started working with the PCA9685 chip on the block. It provides functions for generic control as well as application specific code for driving LEDs and servo motors.

Repository Contents

  • SparkFun_pca9685_Edison.h - Header file containing class, function, and constant definitions used by the pca9685 C++ library.
  • SparkFun_pca9685_Edison.cpp - Class implementation for pca9685 class.
  • SparkFun_PWM_Edison_Block_Example.cpp - example code which will show you how to access all of the functions in the library.

Documentation

  • Programming the Intel Edison - Getting up and running with the Edison. Start here!
  • General Block Information - Information applicable to all blocks, such as power requirements and how to install them.
  • Programming the Edison - This library uses Intel's mraa library to access hardware resources. This tutorial will help you get started using mraa to write code in C++. This is not an Arduino library.
  • PWM Block Hookup Guide - Hookup guide specific to this block, which includes information on the circuits used in the demo code.

Products that use this Library

License Information

This product is open source!

The code is released under GPL.

Distributed as-is; no warranty is given.

  • Your friends at SparkFun.

About

C++ library and example for using SparkFun's PWM block for the Intel Edison.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages