Closed ludook closed 5 years ago
Hi @wam31 I have tried to fix this issue , could you also please test and confirm whether it is fixed?
hello @vaishnav98 , your patch fix the issue thank's !
do you plan to release bonescript 0.7.1 ?
Glad to hear that :) , I believe @jadonk will be including these patches in the next release soon after review.
hello,
this code throws an error on all my BBblack (since bonescript 0.7.0 update) :
the second b.digitalWrite throws this error :
analogWrite: P9_21 requires pwm EHRPWM0B but it is already in use by P9_29
it seems to be caused by this portion of code in "/usr/local/lib/node_modules/bonescript/src/index.js" in digitalWrite function :
because if we inspect "f.getPinMode(pin)" it shows no mux property :
for P9_29 :
for P9_21 :
if I comment this code it works :
if you need more informations, tell me