konsumer / 4encoder

C & puredata extension for working with a specific 4-encoder i2c device

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

4encoder

Warning

I am still working on this. these devices are quite a bit more complicated to interface in C than these, so it will probly take some time. I ended up consolidating these into a single repo at pipd.

Various libs for working with an i2c 4 rotary-encoder thing on a pi.

There is reference here for i2c format.

Make sure to add this to your /boot/firmware/config.txt:

# dtparam=i2c_arm=on,i2c_arm_baudrate=50000
# dtparam=i2c_arm=on,i2c_arm_baudrate=100000
# dtparam=i2c_arm=on,i2c_arm_baudrate=400000
dtparam=i2c_arm=on,i2c_arm_baudrate=1000000

TODO

  • Have a look here for a pretty complete i2c OLED driver. This idea should work for all 3 (OLED, 4encoder, 8encoder)

About

C & puredata extension for working with a specific 4-encoder i2c device

License:MIT License


Languages

Language:Makefile 76.7%Language:C 20.1%Language:Python 3.2%