Processing sketch that graphs capacitive electrode data from the Bare Conductive Touch Board or Bare Conductive Pi Cap over time.
- Processing 3.0+ with controlP5 library 2.2.5+ installed and oscp5 library 0.9.8+ installed
- Processing's instructions for installing libraries are available here
- DataStream (running on Bare Conductive Touch Board)
-
Close the Processing IDE if you have it open.
-
Download the .zip or clone the repository to your local machine - if downloading the .zip, extract the contents somewhere that suits you.
-
Take the mpr121_grapher folder and move it to Processing Sketchbook Folder. This will be different for each operating system:
Windows
Libraries\Documents\Processing
or
My Documents\Processing
Mac
Documents/Processing
Linux (Ubuntu)
Home/Processing
If this folder does not exist, create it first.
-
Reopen the Processing IDE - you should now be able to open the sketch in the File -> Sketchbook menu.
The new functions in this version of the Grapher use EEPROM to save and restore thresholds automatically when setting them. However, if you're using a SAMD21 or SAMD51 board (like the Arduino Zero or Adafruit Metro M4), these MCUs don't have onboard EEPROM. As a result, these functions will not work.