-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
digitalWrite issue (conflict with analogWrite?) #52
Comments
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 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 @jadonk @Vaishnav98 , thx |
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
The text was updated successfully, but these errors were encountered: