Fattoresaimon / ArduinoDuPPaLib

Libraries for DuPPa products on the Arduino IDE
GNU General Public License v3.0
42 stars 24 forks source link

Encoder absolute position #19

Open Gandrasg opened 3 years ago

Gandrasg commented 3 years ago

Hi! I would like to use an encoder for multiple functions (MIDI CC controller) using a menu system I would tell the encoder which one to change. I want to be able to use the controller on IOS too so the -1 / + 1 signal of the encoder is not enough for me (relative). I would need the absolute position of the encoder which I would also need to store due to bank changes. I guess your encodered is capable of this?

Fattoresaimon commented 3 years ago

Hello, Yes of course, the I2C encoder can manage 32bit numbers and the V2.1 also float number. You can check the datasheet!

Thank you, Simone

Gandrasg commented 3 years ago

thanks for your answer I think I found the answer to my question in the description on the 9th page. :)

Gandrasg commented 3 years ago

i so happy

Fattoresaimon commented 3 years ago

Good. If you are also interested on the RGB Encoder, i will be back in stock next week! Thank you

Gandrasg commented 3 years ago

Luckily I have 4 in my drawer :) When I run the examples I get this error I'm using Teensy 3.6. What am I spoiling? 'PWM_MODE' was not declared in this scope PWM_MODE(); ^ Error compiling for board Teensy 3.6.

Fattoresaimon commented 3 years ago

mmm... please update the library It's similar to this issue: https://github.com/Fattoresaimon/ArduinoDuPPaLib/issues/16

Gandrasg commented 3 years ago

I just downloaded the directory and installed it. i have v2.1 encoder

Gandrasg commented 3 years ago

I remember when I bought and tried them the example codes worked well. (Teensy rgb encoder)

Gandrasg commented 3 years ago

Sorry, OFFTOPIC your RGB ledring is superb - love it. Maybe you have data on what is the lowest current consumption when there is no color mixing and low brightness (but still usable)?

Fattoresaimon commented 3 years ago

Thank you! Please update the library now 😄

Gandrasg commented 3 years ago

OK its work fine! :) thanks