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

Gobot & Tinker - Function not found #54

Closed
rbin opened this issue May 2, 2014 · 2 comments
Closed

Gobot & Tinker - Function not found #54

rbin opened this issue May 2, 2014 · 2 comments

Comments

@rbin
Copy link

rbin commented May 2, 2014

If one tries to program a Spark using the Gobot lib, you must have the default Tinker firmware installed otherwise we get a 'Function not found error'.

➜ go run gobot.go
2014/05/02 13:49:55 Initializing API on :3000...
2014/05/02 13:49:55 WARNING: API using insecure connection. We recommend using an SSL certificate with Gobot.
2014/05/02 13:49:55 Initializing connections...
2014/05/02 13:49:55 Initializing connection RBIN ...
2014/05/02 13:49:55 Starting connections...
2014/05/02 13:49:55 Starting connection RBIN...
2014/05/02 13:49:55 Connecting to RBIN on port ...
2014/05/02 13:49:55 Initializing devices...
2014/05/02 13:49:55 Initializing device Red...
2014/05/02 13:49:55 Device Red initialized
2014/05/02 13:49:55 Starting devices...
2014/05/02 13:49:55 Starting device Red...
2014/05/02 13:49:55 Device Red started
RBIN Error: Function not found
RBIN Error: Function not found
RBIN Error: Function not found
RBIN Error: Function not found

After reflashing the spark through the Tinker default hardware, the Go code works fine.

@zankich
Copy link
Contributor

zankich commented May 3, 2014

@zs- and I talked about a possible api route to help determine your current firmware. Until that is the case we need to better document the requirement to run the default tinker firmware on your spark core.

@solojavier
Copy link

What about something like this? https://github.com/hybridgroup/gobot/pull/58/files

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

No branches or pull requests

3 participants