Hello Irmus,
Irmus>>>I now how work lpt but i dont now how from 10011001 make hex in the pic<<
Mister_e gave you some excellent code for doing this.
what happens with Mister_e's code, when data is sent via Parallel port to PortB, it is *already* in Hex format!...
Mister_e's code:
RParrallel VAR BYTE
while SleepPin=High
Wend
RParrallel=PORTB
RParallel will have your 10011001 value...
the hex value is 99. (split your data into 2 groups of 4)
MSB LSB
10011001 = 1001 1001
= 9 9
Hex=99
Dwayne
Ability to Fly:
Hurling yourself towards the ground, and missing.
Engineers that Contribute to flying:
Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute
Pilots that are Flying:
Those who know their limitations, and respect the green side of the grass...
Bookmarks