Improved rotary encoder direction detection
Added ifdef for using serial / actual volume control