laurivosandi / sumochip

Sumorobot platform on top of CHIP board
MIT License
17 stars 13 forks source link

Seperate daemon written in C for generating PWM and GPIO #13

Open artizirk opened 7 years ago

artizirk commented 7 years ago

It would be nice to have a small simple C program that does the PWM and GPIO directly using the hardware registers by mmap'ing the correct address space from /dev/mem. That daemon should be controllable over a unix socket connection

oliv3r commented 7 years ago

Hi,

I wrote a PWM framework based one a while ago. I am intending to pick it up again, but if you could test it any share your results ...

https://patchwork.ozlabs.org/patch/536315/ is the patch in question

I'll massage my v2 again so that it at least apply cleanly.