Published On Nov 11, 2022
We use libraries all the time - even the Arduino framework is a library!
► PCBWay $5 for 10 pieces https://www.pcbway.com
Writing a library is straightforward if you follow the simple pattern that I demo here. I show you a Real World library that controls a bit of hardware that I had on my workbench - but you can write one for ANY piece of hardware.
We'll even talk about elephants (the one in the room) and why we should not be fearful about simple things like 'objects' - watch the video and judge for yourself. 😉
Yes, a library can take the complexity of coding away from your sketch so that it (and future ones) "just work" by calling a library.
► The two-digit, common anode, 74HC595-driven display I used in the video (widely available):
https://s.click.aliexpress.com/e/_DmJ...
► More information (including pictures, all links, sketches & PDFs in my GitHub):
https://github.com/RalphBacon/BB11-Cr...
► 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://buymeacoffee.com/ralphbacon
------------------------------------------------------------------
My ABOUT page with email address: / ralphbacon