Skip to content

Conversation

@silarsis
Copy link

Note, this needs an update to the blink.js to take port number, submitted separately

![blink.jpg](blink.jpg)

Open the [`examples/blink.js`](https://github.com/nodebotsau/simplebot/blob/master/examples/blink.js) program in an editor and look at the code. Its currently set to blink every 500ms.
NOTE: These programs will print a list of COM ports they can find, followed by the port they chose. Windows can change ports for obscure reasons - likely it'll be COM11 or thereabouts, but the libraries may pick the wrong port, in which case it will pause for a while then spit out an error. You can specify the port name at the end of the command if it's picking the wrong port:
Copy link
Member

@sdesalas sdesalas Sep 18, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explanation bit long if you are a noob. Maybe keep it short and sweet:

NOTE: Sometimes you may need to specify the port number:

node examples/blink.js COM11

Next, open the ....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants