Its
current with apt-get update ; apt-get upgrade as of yesterday, but I'm finding
BoneScript is still broken in terms of running the Cloud9 *.js examples.
For instance, /var/lib/cloud9/examples/fade.js doesn't work, when run in the c9 command window tab I get:
debugger listening on port 15454 error: Unable to read from CapeMgr slots: Write to CapeMgr slots failed: Error: EINVAL, invalid argument info: Error loading devicetree overlay for P9_14 using template bspwm error: error updating PWM freq and value: undefined, Error: ENOENT, no such file or directory 'undefined/duty' error: error updating PWM freq and value: undefined, Error: ENOENT, no such file or directory 'undefined/duty'
The repeated ENOENT error scrolls continuously until I press the "STOP" button.
The
simple blinkled.js does work in that the user LEDs and the LED I wired
to P9_14 blink, but the command window shows an apparently harmless
error message:
debugger listening on port 15454 error: Unable to read from CapeMgr slots: Write to CapeMgr slots failed: Error: EINVAL, invalid argument
The
analog2.js example runs without errors and seems correct compared to a
voltmeter across the CdS photocell I've wired up for the test.
One would hope that an "official" image would at least run the "top level" sample code correctly out of the box.
Wally Bkg
unread,
Jan 29, 2016, 1:27:15 PM1/29/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to BeagleBoard
The Beaglebone Cookbook page says the examples are tested with image 2015-03-01.
So it looks like a "bug" in the latest 2015-11-12 image has broken the b.analogWrite() function, and causes apparently harmless error messages in the blinkled.js example.