Hello Melanie,

The code worked excellently without any error , first shot. did not have to do much, just a little bit of basic code (declaring variables) and thats it.

Now I am feeling a bit adventerous and I have connected two thumbwheel switches on PortB (Occupying all eight bits). The code still works good on the Last four bits. Now can you help me read the other thumbwheel into a seperate variable. Actually just want to know how you seperate the other four bits.

Thank you once again.