Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

problem with Timeout

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> BASCOM-8051 Archive
View previous topic :: View next topic  
Author Message
MedhatSaber

Bascom Member



Joined: 11 Aug 2005
Posts: 25

blank.gif
PostPosted: Mon Dec 11, 2006 10:58 am    Post subject: problem with Timeout Reply with quote

Hi all My frinds
i can't understand how can i use input command with timeout
an if i wait to wait a 1 sec how can i do that
thanks a lot
Back to top
View user's profile
Gianni

Bascom Member



Joined: 09 Jul 2004
Posts: 61
Location: Italy

blank.gif
PostPosted: Wed Dec 13, 2006 10:05 am    Post subject: Reply with quote

You can look in the " History.txt " file for more info.
I do not know the value to get 1sec. timeout. TRY!
However.

$regfile = "REG51.DAT"
$noramclear
$timeout
$crystal = 7372800'
'
dim st1 as string * 8
'
'
do
again:
input "input something ",St1 timeout=1000
if err = 1 then goto again
print st1
loop

Regards
Back to top
View user's profile
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> BASCOM-8051 Archive All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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
You cannot attach files in this forum
You cannot download files in this forum