DT's Interrupts have nothing to do with this problem.
It seems that whenever a div32 is used with longs, I get the error.
To simplify things, I am using Bruce's temperature conversion routine, reading a DS18B20, and it uses a DIV32 statement.
This all works fine, except when I want to use LONGS for another variable elsewhere in the program, then I get the error.
If I comment out the DIV32, there is not a compile error, but of course the temperature is screwed up.
I can display the LONG variable just fine in either case.
Yes, I do have the LONG box selected.
I guess I just will not attempt to use a LONG variable with a program that uses DIV32.
Ken
Bookmarks