node-pantilt-hat
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

node-pantilt-hat

Build Status

Pan-Tilt HAT for Node.js

Install

npm install node-pantilt-hat

Usage

import { NodePanTilt } from 'node-pantilt-hat';

const pantilt = new NodePanTilt();

pantilt.setPan(10); // -90 to 90
pantilt.setTilt(20); // -90 to 90

pantilt.getPan(); // 10
pantilt.getTilt(); // 20

Package Sidebar

Install

npm i node-pantilt-hat

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

10.4 kB

Total Files

10

Last publish

Collaborators

  • chikoboo