-
Notifications
You must be signed in to change notification settings - Fork 26
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
Getting started requirements #10
Comments
Galileo-io is supported on node 0.8.x and 0.10.x. Can you run that code and paste the terminal output? |
I'm running 0.8.x but no terminal output unless i put a console.log() and actually board.on("ready") is called (if i put a log within that) but still not seeing the onboard led ( pin13 ) blink like the example below... StandardFirmata isnt required correct? Like the Arduino IDE example
|
Sorry if this is a dumb question: you're running this code on the galileo board, correct? ie. either ssh'ed or screen'ed?
It works exactly right if you attach a real led to pin 13 and gnd. I'm trying to figure out why the on-board isn't working as expected. |
Make sure you're not running a sketch and simultaneously running another program that wants to control GPIOs |
yep SSH'ed into it it, and used sftp to transfer the files over before running node. Is there any additional debug info i can get from |
Check this out: https://communities.intel.com/message/211375#211375 If that's true then it would explain exactly why this doesn't work |
Check this out: https://communities.intel.com/message/211375#211375 If that's true then it would explain exactly why this doesn't work. I'm reviewing the schematic and reference designs to confirm. |
oh interesting, will check my setup with an actual LED when i get off work ^_^ |
I don't believe theres a sketch running, is there a way to check and or clear while SSHed in? |
I asked this question prematurely. |
@glued https://communities.intel.com/message/236683#236683 This message seems promising: https://communities.intel.com/message/237721#237721 |
Are there specific requirements (node version etc) to get galileo-io up and running. Using the "full Linux" installation and run the script below doesn't give me any errors when starting but also doesn't start blinking.
var Galileo = require("galileo-io");
var board = new Galileo();
board.on("ready", function() {
var byte = 0;
this.pinMode(13, this.MODES.OUTPUT);
setInterval(function() {
board.digitalWrite(13, (byte ^= 1));
}, 500);
});
The text was updated successfully, but these errors were encountered: