change printing messages from board to executing an user-defined callback