Hi,Now, if myValue is 0 you'll get 255, if myValue is 255, you'll get 0.Code:myValue VAR BYTE myValue = 255 - myValue
/Henrik.
Hi,Now, if myValue is 0 you'll get 255, if myValue is 255, you'll get 0.Code:myValue VAR BYTE myValue = 255 - myValue
/Henrik.
Thanks Henrik, I guess I shouldn't have slept through math class. Your the man!.
Why don't you reverse the connections to the pot?
/
Peter Moritz.
Up the bush, Western Plains,
New South Wales,
Australia.
Bookmarks