B4R Question how include Serial1.print in library

Michael1968

Active Member
Licensed User
Longtime User
Hi,
what is the best way to show log "messages" from library
i need it for debug library function code and want to show the message in the IDE log

adding "serial1.printf("test") in the *.cpp file give me an error ( error: 'serial1' was not declared in this scope)

best regards
Michael
 
Last edited:

thetahsk

Active Member
Licensed User
Longtime User

Try serial.print("Test this");
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…