Question: hi can u help me in understanding this return function thing it is microcontrollers avr atmega 88 pa connceted with clock ds1307 @brief Convert from

 hi can u help me in understanding this return function thing

hi can u help me in understanding this return function thing it is microcontrollers avr atmega 88 pa connceted with clock ds1307

@brief Convert from BCD to Binary @param in BCD input (00-99) @return Binary output Huint8 t ds1307 decodeBcd (uint8 t in) { return (in / 16) * 10 + in % 16); @brief Convert from Binary to BCD @param in Binary input (0-99) @return BCD output Fuint8 t ds1307 encodeBcd (uint8 t in) return ((in 10)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!