added methods to get/display encoder A/B/Index
Merge branch 'encoder'