??? 06/27/05 14:01 Read: times |
#96019 - Wrong again! Responding to: ???'s previous message |
I said:
The original post used only integers... Donald Catto said:
The original post was: #define Xtal 22.1184 #define tic12 (12/Xtal) #define _10msec (65536 - ((1000 * 10) / tic12))which does have a floating point constant in it. Oh yes - so it does. I'm wrong again... :-( But I agree with Michael: it'd be far better not to use floating-point for the crystal frequency - the integer number of Hz would be fine. |