use bit operation in :digital_read event
fix :analog_read event