Re: [beagleboard] Fwd: Pocket Beagle index.js issue?

2018-03-01 Thread Fred Kerr
Thanks, it reports 0.6.3 now. What pins should I be using? I don't know the conventions and expected usages. I'm wiring OE to ground, and driving SDI, CLK, and LE. 44 LED light bar: Based on the STP08CL596 chip made by ST. There are six IC's. Five control forty LED's(eight each...) and one IC

Re: [beagleboard] Fwd: Pocket Beagle index.js issue?

2018-03-01 Thread Jason Kridner
Responding to a query you made privately Try clearing the npm cache and setting the install path. The root user environment doesn't seem quite right. TERM=none sudo npm cache clear TERM=none sudo npm install -g --prefix /usr/local --unsafe-perm bonescript On Thu, Mar 1, 2018 at 2:38 PM

Re: [beagleboard] Fwd: Pocket Beagle index.js issue?

2018-03-01 Thread Fred Kerr
Great, thanks! I was just choosing some pins to connect to the light bar. I had initially wired it up to an Arduino101 to amuse my ~4 - year old son. I'm just grabbing things out of my parts that I have available and as time permits. I started playing with a small solar cell as an input to 1.8v

Re: [beagleboard] Fwd: Pocket Beagle index.js issue?

2018-03-01 Thread Jason Kridner
Thanks for the issue report and test code. It helped me verify the fix for shiftOut.js. Indeed it got broken some time back and it seems no one tried using the function. Anyway, it is now fixed in 0.6.3. Install via 'sudo npm install -g --unsafe-perm bonescript'. I tested with the BaconBits

Re: [beagleboard] Fwd: Pocket Beagle index.js issue?

2018-02-28 Thread Fred Kerr
Thanks Jason, I don't currently need javascript; I'm just exploring the examples. I may need it in the future for some things, TBD. :) > reset.js just contains this: > > > //# fekerr 20180227 > //# > https://github.com/beagleboard/pocketbeagle/wiki/System-Reference-Manual#221_PocketBone >

Re: [beagleboard] Fwd: Pocket Beagle index.js issue?

2018-02-28 Thread Jason Kridner
> On Feb 28, 2018, at 6:55 PM, Fred Kerr wrote: > > Forwarded on Jason's request. > > -- Forwarded message -- > From: Fred Kerr > Date: Wed, Feb 28, 2018 at 2:41 PM > Subject: Pocket Beagle index.js issue? > To: Jason Kridner

[beagleboard] Fwd: Pocket Beagle index.js issue?

2018-02-28 Thread Fred Kerr
Forwarded on Jason's request. -- Forwarded message -- From: Fred Kerr Date: Wed, Feb 28, 2018 at 2:41 PM Subject: Pocket Beagle index.js issue? To: Jason Kridner Hello Jason, I'm new to Pocket Beagle but I have other low-level