#227
Ralph S Bacon Ralph S Bacon
53.9K subscribers
28,011 views
1.2K

 Published On Oct 8, 2021

Replace your multiple Serial.print statements with a single printf statement.
► JLCPCB Only $2 for PCB Prototype any colour https://jlcpcb.com/cyt

► You can now help support my channel! Buy Me A Coffee!
https://bit.ly/BuyRalphACoffee

► READING
Refresher reading on Arduino's Serial.print
https://www.arduino.cc/reference/en/l...

cplusplus.com website all about printf (and everything else C++)
https://www.cplusplus.com/reference/c...

cplusplus.com all about sprintf (printing to a string)
https://www.cplusplus.com/reference/c...

► CODING
Download: Embedded artistry's modified printf for the Arduino
https://github.com/embeddedartistry/a...

Reference: Marko Paland's original printf (on which the above is based)
https://github.com/mpaland/printf

► Example sketch (as per the demo) PLUS the library for Arduino users
https://github.com/RalphBacon/227-pri...

► Why floats (and doubles) might be bad for your sketch
   • Floating Point Numbers - Computerphile  

► RECOMMENDED COMPONENTS
Coming soon! Products I've bought and used and which I've found great!

► List of all my videos
(Special thanks to Michael Kurt Vogel for compiling this)
http://bit.ly/YouTubeVideoList-RalphB...

► If you like this video please give it a thumbs up, share it and if you're not already subscribed please consider doing so and joining me on my Arduinite (and other μControllers) journey

My channel, GitHub and blog are here:
------------------------------------------------------------------
•    / ralphbacon  
• https://ralphbacon.blog
• https://github.com/RalphBacon
• https://bit.ly/BuyRalphACoffee
------------------------------------------------------------------

show more

Share/Embed