Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Warn & continue if Arduino serial connection open fails #97

Merged
merged 1 commit into from
Oct 13, 2014

Conversation

tjanson
Copy link
Contributor

@tjanson tjanson commented Oct 9, 2014

Many users have run into the "cannot open /dev/" error message that so far occurs when the duino serial connection cannot be established.
That message isn't quite self-explanatory, and it's not obvious why an Arduino should be strictly required in the first place.

Now:

  • a meaningful warning is displayed
  • Heimcontrol does not quit immediately (though it's possible that it'll crash down the road if something expects the Arduino Board to be present; this could be improved further)

In other words, you can finally run Heimcontrol without an Arduino.

Depends on ni-c/duino#4. Actually doesn't, uses my fork instead. This can be changed if the PR is accepted.
Fixes #64, #50, #12 & many similar.

Many users have run into the "cannot open /dev/" error message that so far
occurs when the `duino` serial connection cannot be established.
That message isn't quite self-explanatory, and it's not obvious why an
Arduino should be strictly required in the first place.

Now:
* a meaningful warning is displayed
* Heimcontrol does not quit immediately (though it's possible that it'll
  crash down the road if something expects the Arduino Board to be present;
  this could be improved further)

In other words, you can finally run Heimcontrol without an Arduino.
@tjanson tjanson changed the title warn & continue if Arduino serial conn open fails Warn & continue if Arduino serial connection open fails Oct 9, 2014
@tjanson tjanson mentioned this pull request Oct 9, 2014
ni-c added a commit that referenced this pull request Oct 13, 2014
Warn & continue if Arduino serial connection open fails
@ni-c ni-c merged commit 64b6ee7 into ni-c:master Oct 13, 2014
@ni-c
Copy link
Owner

ni-c commented Oct 13, 2014

I have changed the duino source in the package.json back to my fork: c261d0a

@tjanson tjanson deleted the arduino-connect-optional branch October 13, 2014 13:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error with heimcontrol
2 participants