I am trying to run the code below on my beaglebone black but it is not
working
*var b = require('bonescript');*
*b.analogWrite('P9_14', 0.7, 2000, printJSON);*
*function printJSON(x) { console.log(JSON.stringify(x)); }*
but I am getting this error
*Exception: Please perform setTargetAddress on a valid target*
Does anyone know what I did wrong?
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/4b5ea172-ebd4-403b-ad74-f0d7433ef06b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.