encoder + nanopan ok
add draw function