#224 🛑 STOP using Serial.print in your Arduino code! THIS is better.

Ralph S Bacon
Ralph S Bacon
223.4 هزار بار بازدید - 3 سال پیش - Don't leave your Serial.print statements
Don't leave your Serial.print statements in your final code! And use printf!
PCBWay $5 for 10 PCBs: https://www.pcbway.com/

Quick link to the PCBway 4th annual PCB design contest (Aug - Nov 2021)
https://www.pcbway.com/activity/4th-p...

00:00 Welcome Back!
00:46 PCBWay 4th Annual PCB Design Contest
02:40 The problem with Serial.print statements
03.27 Program bloat
04:11 Slow execution
07:05 Code Demo starts
10:55 How we can do it differently
18:25 Compilation with and without debugging
22:18 ESP32 advanced solution
24:33 printf for the Arduino
25:49 Conclusion

► You can now support me by buying me a coffee!
https://buymeacoffee.com/ralphbacon

► Far more code examples and an advanced example in my GitHub  
https://github.com/RalphBacon/224-Sup...

► Global compiler directives (with much more on this site)
https://home.cs.colorado.edu/~main/cs...

► printf for the Arduino processor
I will expand on this in a future video - just for the Arduino processor!
https://embeddedartistry.com/blog/201...

► printf GitHub for the code...
https://github.com/embeddedartistry/a...

... based on this printf GitHub version
https://github.com/mpaland/printf

Far more details of the code and an advanced example in my GitHub  
https://github.com/RalphBacon/224-Sup...

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

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://buymeacoffee.com/ralphbacon
------------------------------------------------------------------
3 سال پیش در تاریخ 1400/06/12 منتشر شده است.
223,484 بـار بازدید شده
... بیشتر