Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 4th October 2003, 07:20 PM   (permalink)
Default my program is good ?

Hello,

I have built this program : when a 5v going on A.0, then the program turn on a led connected on the A.1 pin then turn off it. after a delay the program turn on the led...

Can anybody say me if my program is good ?

Thanks a lot

Device 16C84
Dim Entree,Attente,Tempo
Symbol entree = A.0
Debut: if entree=1 then outa(1)
Attente=10
outa(0)
Gosub Tempo
outa(1)
Attente=20
a.1=0
Gosub Tempo
outa(1)
Attente=30000
a.1=0
Gosub Tempo
outa(1)
Attente=4000
a.1=0
Gosub Tempo
outa(1)
Attente=10
a.1=0
GoTo Debut
TEMPO:
for _Tempo = 1 to attente
then delayms(100)
next _Tempo
return
end
lic is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 07:35 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker