10 years, 1 month ago.

print variables with printf

So I just got the Serial Com working using putty and successfully sent hello world to the console. Now i would like to send more than just a sting of characters to the console like variables and readings but none of the syntax i have tried has worked. Could anyone point me in the direction to look up examples to do this type of thing?

1 Answer

10 years, 1 month ago.

Have a look at: http://www.cplusplus.com/reference/cstdio/printf/