#8 Simple Demo Of Binary Coded Decimal (BCD) For Real Time ...
Maybe your like
Introduction: #8 Simple Demo of Binary Coded Decimal (BCD) for Real Time Clocks (such As the DS3231 and DS1307)
By Ralph S BaconArduino Youtube VideosFollow More by the author: 

About: Arduino compatibles and other electronics for beginners! If you're getting started with the Arduino platform you'll be interested in my experiences as I investigate several 'building blocks' that can be attach… More About Ralph S Bacon »Sometimes a little applied theory goes a long way in allowing an Arduino developer to understand the background behind the electronics.
In this short video (only interrupted by Benny, my cat) I explain how Binary Coded Decimal (aka BCD) is stored, and, more importantly, how we can easily convert the retrieved value back into its underlying value. Once you see the video you will think "Doh! So simple". Yes, really. But necessary, too.
So if you're working with BCD in any shape or form, and with a Real Time Clock module such as the DS1307 or the DS3233 in particular, this information and knowledge will help you understand how the information is retrieved and converted.
Indeed, after the video I quizzed Benny (aka The Video Interrupter) and he correctly explained how a single character (byte) was used to store a two-digit number in a manner that could easily be retrieved for use in C++ code sketches. Purrfect, I told him.
Don't worry, I don't have many 'theory' videos but on this occasion I felt compelled to share this knowledge so that a greater understanding can be had by anyone using BCD in their Arduino projects (especially with those RTC modules!).
Enjoy (and at least give Benny a thumbs up). Another video of a more practical nature coming up next (spoiler alert: all about 7-segment LED displays).
Thanks for watching! And don't forget to share and subscribe if you find these videos interesting.
Tag » Arduino Convert Decimal To Bcd
-
Convert Dec To BCD - Programming Questions - Arduino Forum
-
BCD To Decimal And Decimal To BCD - Arduino - Stack Overflow
-
How To Convert Decimal Into BCD By Arduino Code - Quora
-
Converting Between Decimal And Binary-coded-decimal (BCD)
-
Arduino Integer To BCD Conversion For The MAX7219 - YouTube
-
#122 Arduino Binary Vs BCD - YouTube
-
BCD | PlanetArduino
-
Arduino RealTime Clock Set Time - Gists · GitHub
-
Arduino-Code-and-Libraries/DS1307RTC.cpp At Master - GitHub
-
Arduino BCD Conversion With MAX7219 LED Display Controller
-
How To Write Arduino Code To Display 8-bit Binary In Decimal Using ...
-
C# Int To Bcd, Decimal To Bcd Algorithm, Bcd Code, Arduino Bcd To ...
-
Integer To BCD Convertion | B4X Programming Forum