but when i use serin command program stops and wait data "1" and when program stops i cant get the button commands if i remove serin command the program works well but i need serin command coz i want to use remote
You are stuck on your SerIn statement... It is waiting for input...You need to use a timeout on your SerIn...I can't remember if SerIn has a timeout, but I do know that SerIn2 does... Or you can use a interupt on your Button, instead of a scanpin...Or you can use a interupt on your SerIn routine.
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