On the last asssignment of TXEN, I get an error stating that a constant value of 254 is out of range 0...1. I can't figure out how this value is getting stored.
treitmey
Joined: 23 Jan 2004 Posts: 1094 Location: Appleton,WI USA
Posted: Fri Apr 29, 2005 9:49 am
I think you want the uinary operator. "!" The "~" is typecasting your bit to a byte and the doing the ones compliment.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum