Most of this code has originated from requests and challenges on the PICList mailing list.
I tried to debug the routines as much as possible (for a hobby), but no guarantees. In case you find a bug, please let me know.
Please send any questions or comments to firstname.lastname@example.org, or the PICList, as many nice folks hang around there and most probably will be glad to help you.
... you could use the tested routines from piclist.com. You will need:
Please check http://www.piclist.com/techref/microchip/math/index.htm
- decimal to binary conversion routine (4 digits to 16 bits)
- 16 bit by 16 bit division (to find 10000/x)
- binary to decimal conversion (16 bits to 4 digits)
|file: /Techref/member/NG--944/pic_collection.htm, 20KB, , updated: 2007/3/29 05:46, local time: 2015/2/28 15:04,
|©2015 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.piclist.com/techref/member/NG--944/pic_collection.htm"> PIC Code Collection</A>
|Did you find what you needed?|
PICList 2015 contributors:
o List host: MIT, Site host massmind.org, Top posters @20150228 RussellMc, IVP, alan.b.pearce, Dwayne Reid, Neil, Bob Blick, Isaac Marino Bavaresco, James Cameron, Josh Koffman, Robert Dvoracek,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!