saeedakhan
Junior Member level 1
Car Park System
I want to design a Car Park System For 100 Cars. I have Written The Program In Assymbly For 89C51 Microcontroller. But This Program Does not Work. Anybody Can Help Me That What's The Error In This Program.
In This Program P3.4 Is For TImer0 External Input And P1.0 For Driving Garage Door Controlling Motor.
Org 001H
Mov Tmod,#02H
Mov THo,#-100
Setb TRo
Out: Jnb P3.4,Out
Clr TFo
Setb P1.0
End
I want to design a Car Park System For 100 Cars. I have Written The Program In Assymbly For 89C51 Microcontroller. But This Program Does not Work. Anybody Can Help Me That What's The Error In This Program.
In This Program P3.4 Is For TImer0 External Input And P1.0 For Driving Garage Door Controlling Motor.
Org 001H
Mov Tmod,#02H
Mov THo,#-100
Setb TRo
Out: Jnb P3.4,Out
Clr TFo
Setb P1.0
End