modify for 128 analog sensor