Skip to content

Latest commit

 

History

History

LEDfade

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Bare Conductive

Bare Conductive Touch Board MPR121 LED Fading Example

Uses the (limited) PWM output feature of the MPR121 on the Bare Conductive Touch Board to fade an attached LED up and down. Needs an LED with a series current limiting resistor connected between E11 and ground. 470 ohms is good for most LEDs.

TODO: diagram

Requirements

Install

This is normally installed as an example within the MPR121 library, but if you want to manually install it into your Arduino sketchbook, here is how to do it.

  1. Close the Arduino IDE if you have it open.

  2. Download the .zip or clone the repository to your local machine - if downloading the .zip, extract the contents somewhere that suits you.

  3. Take the LEDfade folder and move it to Arduino Sketchbook Folder. This will be different for each operating system:

    Windows

    Libraries\Documents\Arduino

    or

    My Documents\Arduino

    Mac

    Documents/Arduino

    Linux (Ubuntu)

    Home/Arduino

    If this folder does not exist, create it first.

  4. Reopen the Arduino IDE - you should now be able to open the sketch in the File -> Sketchbook menu.