hi guys, this thread really helped me with some n00b issues.

future reference for others - deactivate debugging as illustrated above, or 
even simple files won't run.
also, all files must be save with the .js extension don't just type a 
filename and hit enter...add the .js. if your code is uncoloured, then the 
file isn't recognised as a javascript file. you'll also receive the 
Permission Denied error when attempting to run it

i was stumped for days with those issues...was writing code in nano via 
Putty terminal and it worked fine, couldn't grok why Cloud9 was stalling



Am Montag, 21. Juli 2014 19:23:19 UTC+2 schrieb Stephen Nicholson:
>
> Yes, it was that I had to push the play button on the debugger.  Also 
> thanks for the information about how you disable the debugger.
>
> On Sunday, July 20, 2014 2:28:07 PM UTC-4, [email protected] wrote:
>>
>> I'm running into the exact same problem. Were you ever able to solve this 
>> issue?
>>
>> Thanks
>>
>> On Sunday, June 15, 2014 6:39:14 PM UTC-7, Stephen Nicholson wrote:
>>>
>>>
>>> I have been trying the demo JavaScript files and I keep getting the 
>>> message
>>>
>>> Debugger LIstening on Port 15454
>>>
>>> when I run the js file and it not doing anything.
>>>
>>> I have no idea what do.  I'm using Cloud9.  I bought the BeagleBone 
>>> Black from Adafruit about 1 month ago.
>>>
>>> I tried the example given on the main page below
>>>
>>> var b = require('bonescript');
>>>
>>> var state = b.LOW;
>>>
>>> b.pinMode("USR0", b.OUTPUT);
>>> b.pinMode("USR1", b.OUTPUT);
>>> b.pinMode("USR2", b.OUTPUT);
>>> b.pinMode("USR3", b.OUTPUT);
>>> setInterval(toggle, 1000);
>>>
>>> function toggle() {
>>>     if(state == b.LOW) state = b.HIGH;
>>>     else state = b.LOW;
>>>     b.digitalWrite("USR3", state);
>>> }
>>>
>>> I also tried some simple addition examples and keep getting the same 
>>> debugger message.
>>>
>>> Thanks,
>>>
>>> Steve
>>>
>>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to