fixed some bugs, comlemented the code.
now can work on h350 board now,
but the visible part and some func later completed.