jadonk / bonescript

Scripting tools for BeagleBone and PocketBeagle
http://beagleboard.org
MIT License
514 stars 158 forks source link

Smooth PWM Output #171

Closed vaishnavachath closed 6 years ago

vaishnavachath commented 6 years ago

I have tried to fix these issues related to PWM,

https://github.com/beagleboard/bonescript/issues/26 https://github.com/beagleboard/bonescript/issues/30 https://github.com/beagleboard/bonescript/issues/17

I have uploaded the test video here : https://youtu.be/_CiSsroef18

I couldn't figure out how to write test cases for these patches , that was why i included some non relevant tests,please excuse.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.06%) to 37.111% when pulling e5b648932e6db2fb03f2455706524972ee42f5ae on vaishnav98:master into 61d2fa26a8e93449fec01f8693d734878cf1077f on jadonk:master.

vaishnavachath commented 6 years ago

Glad to hear that :) , sure I will try to figure out a solution to the issue of removing sync read/write operations in future (didn't do it now for the patch since we need to make consistent changes everywhere).