| ??? 12/04/02 10:51 Read: times |
#33739 - RE: Problem with reading timers |
<html>
are "integers" 16 bits? and even if so, TH0 is 8 bits, is the compiler generating assembler code to execute 256 * TH0 in 8 bit math? resulting in zero due to overflow? try casting TH0 as a 16-bit value before multiplying. <table><tr><td>james</td><td> </td><td> www.jameshinnant.com</td></tr></table> </html> |



