The purpose of this experiment was to design a program for a train operating system according to the clientβs requirements thatβs safe and easily adjustable. The requirements were to create a crossing gate system that could Β be applied and sold to both rural and urban communities. It needed flashing warning lights and a gate that lowers on time to prevent car accidents and train collisions. The train would need to slow down when crossing the gate and resume speed when passed. It must be programmed to be used repeatedly. It must also be easily adjustable for various client needs.
In the following sections the rest of the experiment is described in detail. The program description section lists the variables and their functions, while also giving a list of commands and their descriptors. The brief discussion section gives an explanation of what the code does, how it progressed, and any problems that occured while testing the code. The conclusion gives a synopsis of the experiment while describing obstacles and how the team worked to overcome them.