encoder channels

fixed printf so it says channel much be 1,2,or3 if the user gives a
value out of bounds