Skip to content

BareConductive/picap-datastream-tty-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bare Conductive

Bare Conductive Pi Cap TTY Data Stream Utility

Example TTY (terminal) data streaming code for the Bare Conductive Pi Cap. Streams touch and proximity data from the Pi Cap to stdout.

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 and follow the usage instructions.

Usage

python datastream-tty

N.B. must be run as root

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

Bare Conductive Pi Cap TTY Data Stream Utility

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published