Closed Aidan275 closed 5 years ago
he analogWrite method takes 2-5 seconds to write the value 0 after writing any other value greater than 0. There is also a large delay when writing to any other value greater than 0 from 0.
Also having this issue
Hi @Aidan275 @riptho I have tried to fix this issue , could you also please test and confirm whether it is fixed?
Hi @vaishnav98, I've tested your new code and so far it appears to be working fine.
Thank you for your speedy fix :)
Thank you @Aidan275 :)
Hi,
Since upgrading from bonescript 0.6.3 to 0.7.0 I have found that the analogWrite method takes 2-5 seconds to write the value 0 after writing any other value greater than 0. There is also a large delay when writing to any other value greater than 0 from 0.
Please see the example below which illustrates the issue.
The following code was run after boot on a BeagleBone Black in node v8.11.4 and with kernel 4.14.49-ti-r54.
The output from this code is:
If you exit nodejs after this and then run it again, the first write(0) calls also have a large delay (sometimes 15+ seconds for the first one).
Please let me know if you need anymore infromation from me.
Thanks