Start
LED ON
Check LED
LED Off
Initialize Parameters
Buzzer On
Check Water Level Empty
Display
Motor OFF
Motor ON
Start
Initialize Parameters
Check Timer = 0
R = High
Y = Low
G = Low
Check Timer = 12
R = Low
Y = High
G = Low
R = Low
Y = Low
G = High
Timer = 0
Configuration of parameters
Set the counter variable to 0
Set the capacity variable to 100
Car Enter ()
Check the counter variable equal to capacity variable =
100 or not
If Not equal then
Allow Entry of Car ()
Increment to counter + 1
Update the counter variable
Display Parking Allowed
Else if counter variable equal to capacity variable = 100
then
Disallow Entry of Car ()
Display Parking Full
Update the counter variable = counter variable
End of if condition
Car Exit ()
Allow Exit of Car ()
Decrement to counter -1
Update the counter variable
Display Parking Allowed
End
Start
Set Parameters
Allow Parking
Counter +1
Allow Exit
Counter -1 - updated