reimplemented rev mode

RS485 still unusable