Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

mdnorman/WeDo-Node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node WeDo Library

This library creates support for the Lego WeDo system for Node.

Usage

const WeDo = require('wedo-support');
const wd = new WeDo.WeDo();

// Activating the first motor full forward:
wd.motorA = 100;

// Activating the second motor half speed/force backward:
wd.motorB = -50;

// Current value of the tilt sensor:
const theTilt = wd.tilt;

// Current distance value in meters of the distance sensor:
const theDistance = wd.distance;

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published