You can't configure the thresholds in software. You can either scale the measured voltage so that it fits the fixed threshold or use an external comparator. What rates are we talking about? Are you interested in the exact pulse count or only their rate?
On Tue, Apr 21, 2015 at 6:34 AM, Linus Anderberg < [email protected]> wrote: > Is it possible to set a threshold on a digital input to when it should > report HIGH? > > Right now i'm using analog input to read a rotary wheel with photo > resistors and when connected over bluetooth it is to slow and > can't determine what direction i'm turning the rotary. connected with a usb > cable all is fine. > Correct me if i'm wrong but digital input is much faster than analog input? > > -- > You received this message because you are subscribed to the Google Groups > "ioio-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/ioio-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "ioio-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/d/optout.
