added code from display_board_test.ino