Closed xtacocorex closed 7 years ago
@streamnsight I started copying over your 2 PWM functions. I noticed that in pwm_set_pulse_width_ns() the line to actually set the duty cycle as the pulse width doesn't have a ;. Is your code complete or just stubbed out?
In looking at pwm_set_period_ns(), that one seems good to go.
Definitely partially implemented. I think I got it squared away though.
ah, yeah sorry. i had started but since it didn't work for me, I had put it on hold...
Well I think I got stuff hashed out, code is pushed to master if you wanted to try it out. I haven't tested it since my dev CHIP is downstairs and I'm remoted into it working on the code.
Merge in @streamnsight's 2 functions from his fork: https://github.com/streamnsight/CHIP_IO/commit/51a8663ba4e706305940246cab05f698c3fca631
(Yes, I was totally creeping on the CHIP_IO forks since I noticed the fork number increased)