Hi,
The program itself is fine at the 12 to 0 changeover, but with a DEADBAND, it complicates things.
Ioannis suggested Modulus also using a 24Hr clock.
After trying to get to know Modulus, for a while, I can only guess, that it won't correct my problem. The problem is a DEADBAND, so 'say' 3 with a DEADBAND of 1 would be 2 to 4. At o it will be -1 to 1. I don't get the impression that Modulus works with minus numbers.
I experimented with the 24 hour clock, and as the clock goes round and round, eventually it will be 24 then 0 again, so a similar problem. I finally only use 24Hr for a small section around 12 or 0. then revert back to 12 hour, this works fine.
Thanks for all suggestions, C.
Bookmarks