Skip to content

Latest commit

 

History

History

GPIOinverter

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Bare Conductive

Bare Conductive Touch Board GPIO Inverter Example

A GPIO inverter written using the MPR121 as a GPIO extender on the Bare Conductive Touch Board. Reads an MPR121 electrode and outputs the inverse to drive an LED connected to another electrode.

Needs an LED with a series current limiting resistor connected between E11 and ground. 470 ohms is good for most LEDs. E10 is set as a digital input with an internal pullup. Leaving E10 unconnected turns the LED off. Connecting E10 to ground turns the LED on.

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 GPIOinverter 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.