Hi Ytai, thanks for a wonderful kit. I might have one suggestion that came to my mind while developing a project that uses number of analog PINs to read data - in this project I only need to *monitor changes to analog inputs* (e.g. when voltage changes from 1.2V to 1.3V) and take some actions based on these. With analog input sampling rate set to 1KHz, the android device (IOIO thread) is quite busy processing this analog data (through USB) even if these are not changing resulting in animations on the UI thread not playing smoothly. I was wondering if is is possible to add an extra option (e.g. when opening an analog input) to AnalogInput class, something like setMonitorChanges(float minVoltageThreshold) which would cause the value obtanied by AnalogInput.read() to be updated only when an actual change occurs within the threshold (threshold=0 for standard behavior)? This would save some USB bandwidth and device CPU power as well I believe. Toda raba. O.
-- 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.
