Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated instructions with common problem #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,13 @@ If it all goes well. You'll see a blinking LED positioned next to the L on your

![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 ....


```
node examples/blink.js COM11
```

Next, 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.

Try changing this to 100ms and see if it blinks faster now.

Expand Down