Hi there, i have a problem with Keyboard library . I have arduino leonardo. I wrote this code, and keyboard doesn't typing , but mouse.click function works .
I printed this values with Serial.print . And values +/- stable . Then i wrote code with this values. I have this thing:
And this thing have fixed positions. All works but not keyboard . I don't know why . Yes ok i rewrite code with using range , but will it fix keyboard ?
This black scheme on the left side, this is type of connection that i use for my "potentiometer" . This is thing from USSR , and it's like potentiometer with 10 fixed positions , in my build i use only 7 . But i didn't find scheme with 7 buttons (It works like 7 buttons) , only 4 buttons , but you just imagine other 3 buttons and resistors.
And my 7 resistors doen't have the same Ω value .
From first to last -> 1,2KΩ ; 1KΩ ; 1,5KΩ ; 1,1KΩ ; 1KΩ; 1KΩ; 910Ω
And one more resistor connected to GND: 10KΩ