Sampling GPIO Data
I know there is a way to sample Accelerometer data with the command mbl_mw_acc_enable_acceleration_sampling
Is there something similar for GPIO sampling?
I currently am reading the IO High and Low values mbl_mw_datasignal_subscribe, and then mbl_mw_datasignal_read
but it takes about 500ms to read each GPIO in series as i am doing this for all 5 GPIOS
Is there a way to sample all 5 faster?
Comments
Use the timer module to schedule the read commands:
https://mbientlab.com/tutorials/WPython.html#log-temperature