Logic for printing the board for troubleshooting