simplify gpio read to use symbols :on, :off, :error