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