Hello,
I found in "coding examples" code, that allows change pot into multiposition switch. The problem is with bit mask - it could be 2, 4, 8, 16, etc.
Is there any option to make it 11 positions? Eg, position 1: pot 0-0.09, position 2: pot 0.1-0.19, ... , position 11: pot > 0.99
POT skip routines
Moderator: frank
Re: POT skip routines
No quick trick that I am aware of, you will need to do something like subtract 1/11 and if negative then jump if not then subtract an additional 1/11 and if negative then jump, and so on. But that will use about 22 instructions just for that.
Frank Thomson
Experimental Noize
Experimental Noize
Re: POT skip routines
Okay, that could be good enought.
Thank you, Sir.
Thank you, Sir.