Challenge

Project 2 - Implement the Code for controlling the retraction and extension of Airplane’s landing gear

OUTPUT

The Finite State Machine is Initialized and current the program is inGEARDOWN State & Light is: Green
Enter the values of pil and Squatswitch: 0
1

status of currentstate is Checkingbeforetakeoff
status of lightvalue is Green
Enter the values of pil and Squatswitch and operation0
1
0

status of currentstate is Raising Gear
status of lightvalue is Red
status of directionValve is Up
status of Hydraliccontrol is Enabled
Enter the values of pil and limit_switch1
0

status of currentstate is Checking before landing
status of lightvalue is Red
status of directionValve is Down
status of Hydraliccontrol is Enabled
Enter the values of pil and limit_switch

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.