Skip to content

VEDI-labs/picap-stream-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Bare Conductive

Bare Conductive Pi Cap OSC Data Stream Utility

Example OSC data streaming code for the Bare Conductive Pi Cap. Streams touch and proximity data from the Pi Cap to a network target (default is 127.0.0.1) via OSC on a specified port (default is 3000). The target can be an IPv4 address or a hostname - but not an IPv6 address at this time. Can optionally interface with Bare Conductive's MPR121 grapher.

Requirements

Install / Build

  • You should install this code as part of the Pi Cap Raspbian package: sudo apt-get install picap
  • However, if you are doing this yourself, clone the repository, enter it and run make

Usage

Streams Pi Cap data over OSC - MUST be run as root.

Usage: datastream-osc [OPTION]

Options:
  -h, --host   host address, defaults to 127.0.0.1
  -p, --port   port on which to send, defaults to 3000
      --help   displays this message

Output message formatting

/touch		electrode touch values (0 not touched, 1 touched)
/tths		electrode touch thresholds (0..255)
/rths		electrode release thresholds (0..255)
/fdat		electrode filtered data (0..1023)
/bval		electrode baseline values (0..1023)
/diff		/bval - /fdat (0..1023)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published