Hi,
With a very, very very little Trickery ... I think it makes it.
AlainCode:IF ( Voltage.8 ^ Voltage.9 ) THEN PORTC = 1 ELSE PORTC = 8 ENDIF
Hi,
With a very, very very little Trickery ... I think it makes it.
AlainCode:IF ( Voltage.8 ^ Voltage.9 ) THEN PORTC = 1 ELSE PORTC = 8 ENDIF
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Or ... With Select Case
AlainCode:Voltage = Voltage.Highbyte SELECT CASE Voltage Case 1,2 PORTC = 1 Case Else PORTC = 8 END SELECT
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks