I have tested bonescript 0.5.0-beta7.
run:
var b = require('bonescript');
b.pinMode('P9_14', b.OUTPUT);
b.analogWrite('P9_14', 0.7, 2000.0, printStatus);
function printStatus(x) {
console.log('x.value = ' + x.value);
console.log('x.err = ' + x.err);
}
output:
Bonescript: initialized
x.value = undefined
x.err = error updating PWM freq and value: undefined, Error: ENOENT, no
such file or directory 'undefined/duty_cycle'
PWM still now work.
在 2016年5月26日星期四 UTC+8上午3:42:30,robert nelson写道:
>
>
>
> On Wed, May 25, 2016 at 2:40 PM, Mark Yoder <[email protected]
> <javascript:>> wrote:
>
>> Thanks..., but what did you do differently?
>>
>
> So after you click the pull request button, you need to manually change
> the branch..
>
> github assumes everything get's merged into master.. (which for
> bonescript isn't true right now, as 0.5.0 is a seperate development branch)
>
> Regards,
>
> --
> Robert Nelson
> https://rcn-ee.com/
>
--
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/897751ea-c621-4e50-9d97-e0cfbfa5dd70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.