Post Created date
Decimal -> ASCII with AVR2313
An alternative would be to dig up a routine for optimized division by 10 with remainder. There used to be a collection of such routines in the Projects area IIRC.
Wednesday, 7 April 2004 - 12:26
Quote: i saw this forum, and interested in the website that been given . but do you have english version? Not an exact translation to english...
Tuesday, 30 March 2004 - 11:14
Converting ASCII Coded Decimal to INT
OK Andy, I get it now. Well actually, sort of. Now the question to moneymaker becomes: Why convert a sequence of numerical chars to a number when it makes little (or no) sense?...
Sunday, 21 March 2004 - 23:10
Converting ASCII Coded Decimal to INT
What, exactly, is the problem? I ran Your program with these calls: ans = addnumber(ans, '0');//Pls note the change here! ans = addnumber(ans, '4'); ans = addnumber(ans, '0...
Friday, 19 March 2004 - 12:30
why the sprintf stucks the loop
What's going on here? Nobody really explains what probably goes wrong with Menahem's code, and Menahem obviously misses some points or does not read all responses. Also: This is a...
Sunday, 23 June 2002 - 22:19
Newbie problems
Seems to me that Jon pointed it out, but maybe didn't make it clear enough: a & 0 is ALWAYS 0. What You get when reading a port, as in a = inp(PIND), is a byte where each bit...
Tuesday, 11 June 2002 - 01:29