I have the ability to analyze in depth what is required to make the logic of the microcontroller as efficient, compact and fast as possible, so that anyone, previously authorized by you can modify the logic if necessary.
It is understood the need that the school has to avoid such situation, so I propose the following
Perform the logic of the program, each phase, subroutine that is made will be shown to you in such a way that you can be familiar and follow up on what is being done, develop the logic of the microcontroller in MPCAB XC Compiler or CC Compiler, as you prefer it
To be able to carry out the tests of the logic of the program, a circuit will be designed in Proteus simulating the process to be controlled, that is, simulating the situation with the driver and the rear seat of the bus.
If you wish, you can contact me to refine the details that may be required
It says goodbye
Andres