{"repo":"jcane86/motor-hat","free":true,"listed":false,"github":"https://github.com/jcane86/motor-hat","clone":"git clone https://github.com/jcane86/motor-hat.git","description":"Node Module to control Adafruits MotorHAT for the RaspberryPi","language":"JavaScript","stars":29,"topics":["javascript","nodejs","node","node-js","raspberry-pi","raspberrypi","raspberry-pi-3","raspberry","stepper-motor","stepper"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"🏁 motor-hat 🎩 [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url] [![semantic-release][semrel-image]][semrel-url] [![Commitizen friendly][commitizen-image]][commitizen-url] Node Module to control Adafruit's MotorHAT for the Raspberry Pi http://jcane86.github.io/motor-hat Requirements Node.js = 18 Installation & Basic Usage DOCS See the full api here: http://jcane86.github.io/motor-hat See it on GitHub here: http://github.com/jcane86/motor-hat Notes about 2.0 Some changes will need to be made to transition to the async version of the library in 2.0: Main library: Instance needs to be init()'d Servo and Stepper instances exposed in servos and steppers arrays are already init()'d. DC Motors: Methods are now async, and need a callback as last parameter. Old Sync methods remain, just call them as stopSync(), etc.. Instance needs to be init()'d Servo Motors: No changes, everything is still sync (I didn't feel it was necessary, feel free to open an issue or send a PR otherwise). Stepper Motors: Most methods already had the Sync suffix. Only setFrequency is now setFrequencySync. Async methods added. Release and current methods added (actually in 1.3). Instance needs to be init()'d Advanced usage Further configuration As seen in Some of our friends made cool stuff using motor-hat. Drop us a PR to add your project to this list. - @joeljameswatson : ","default_branch":null,"files":null,"tree":[],"storefront":"/r/jcane86","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jcane86/motor-hat/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}