New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-red-contrib-pitft-touch

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-pitft-touch

This reads /dev/input/event0 (or other input device) on the Raspberry Pi, which is the Adafruit PiTFT touch screen if you used their tutorial to install the shield. *May be* compatible with other touch screens and other Linux-es.

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

node-files-pitft-touch

Source files for a Raspberry Pi Adafruit PiTFT touch screen node for Node-RED

Install

Run the following command in the root directory of your Node-RED install

npm install node-red-contrib-pitft-touch

The Node-RED user needs to be member of the input group.

###Input

This reads /dev/input/event0 (or any other device path), which is the Adafruit PiTFT touch screen if you used their tutorial to install the shield. May be compatible with other touch screens. This node doesn't do any error handling yet (so if there's not PiTFT, tough luck) nor any fancy event handling ("gestures"), but just reports the last position where the user touched the screen before lifting the finger. This is useful for simple "touch a button on the screen" sort of operations.

Outputs an object called msg containing a msg.payload. msg.payload is a JSON String of the format {"x":10, "y":20}

Keywords

node-red

FAQs

Package last updated on 02 Nov 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts