|
Re: Help with Timers on PIC18F in C18 (what the 2004-2008 RCs had)
Are you sure oldManualUp is intialized? Did you check for nulls? Neither will be true if oldManualUp is uninitialized. sManualUp must be initialized since evaluating it to zero works. Remember that:
variable == Value (any value in cluding zero) will only work if variable is intialized to a value and is non-null.
__________________
Lee Drake, CEO, OS-Cubed, Inc.
Business Mentor - team 1511
Rochester, NY
Building optimal, stable, secure solutions to your business challenges.
|