Рет қаралды 27,838
Replace your multiple Serial.print statements with a single printf statement.
► JLCPCB Only $2 for PCB Prototype any colour jlcpcb.com/cyt
► You can now help support my channel! Buy Me A Coffee!
bit.ly/BuyRalp...
► READING
Refresher reading on Arduino's Serial.print
www.arduino.cc...
cplusplus.com website all about printf (and everything else C++)
www.cplusplus....
cplusplus.com all about sprintf (printing to a string)
www.cplusplus....
► CODING
Download: Embedded artistry's modified printf for the Arduino
github.com/emb...
Reference: Marko Paland's original printf (on which the above is based)
github.com/mpa...
► Example sketch (as per the demo) PLUS the library for Arduino users
github.com/Ral...
► Why floats (and doubles) might be bad for your sketch
• Floating Point Numbers...
► 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)
bit.ly/KZbinV...
► 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
• ralphbacon.blog
• github.com/Ral...
• bit.ly/BuyRalp...
------------------------------------------------------------------