You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really need a quick demo of how to use node.js to run motors and get inputs from sensors. I've got npm and node installed and I've required the language like so:
varev3dev=require('ev3dev-lang');varmotor=newev3dev.LargeMotor('outA');// trying to setup a new motor
but I can't find any code examples anywhere online. Can someone show me how to get anything working? Thanks
The text was updated successfully, but these errors were encountered:
Check out the examples directory in the ev3dev-lang-js repo; there you can find examples on how to use motors, sensors and various other things. You should mainly check out these ones for motors (although there is one that uses both motors and sensors):
I really need a quick demo of how to use node.js to run motors and get inputs from sensors. I've got npm and node installed and I've required the language like so:
but I can't find any code examples anywhere online. Can someone show me how to get anything working? Thanks
The text was updated successfully, but these errors were encountered: