Addded state machine logic to visual 3 tft_driver
Fixed merge conflicts