ON 20050221@1:49:04 PM at page: http://www.piclist.com/microchip/math/radix/b2bu-10b4d-eag.htm#38404.1124768518 James Newton[JMN-EFP-786] Published and replied to post 38404.1124768518 |Insert 'In what way?' at: '' The 10 bit conversion routine seem to be incomplete. |Delete 'P-' before: '' but after: 'roberthedan@xavierkamial.com
/techref/microchip/math/radix/bu2b-5d16b-ph.htm This was what I was looking for, an efficient BCD to binary conversion. I download data from a PC that was manipulated by EXCEL onto a PIC for storage on an external EEPROM. This conversion was required to generate proper address bytes for the memory EEPROMs.

I do have one request, is it possible to expand this logic to support the 17-bit addressing of the 128KB AT24C1024 Serial EEPROM?

I'm not quite capable of expanding the code myself. I can follow your explanation, but my math skills end about there. An expanded version capable of supporting a number of 131,072 would be greatly appreciated.

Thank you very much for the current version!

Robert Hedan
:)
|Delete 'P-' before: '' but after: '