Giter Site home page Giter Site logo

sparkfun_pwm_block_for_edison_cpp_library's Introduction

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.

sparkfun_pwm_block_for_edison_cpp_library's People

Contributors

mhord avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

iot-alex tripzero

sparkfun_pwm_block_for_edison_cpp_library's Issues

Audio generation using PWM Block PCA9865

Hello,

I want to generate audio using this PWM block. I need a PWM ouput at 2khz, 8khz frequency.Is it possible with this or should I use a PCA9835 (by desoldering the PCA9865 and soldering the 35 and making changes to the library appropriately.Please let me know.

Compilation Issue

Hi there,

I am trying to compile the example code provided and am not sure how to do this. Could you please provide a sample compile string or makefile?

I am getting the below error message when using my makefile
compile issue
makefile.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.