The PCB for the attached program has four digital inputs (Input1 to Input4) and two outputs (Output A and Output B). The task is to modify the program which will then utilize Input1 only. The three remaining inputs will be tied to 0V.
Input1 will receive serial data from a separate module at random times at a baud rate of 9600. The serial data will be either 01010 or 0101010. If the data is the former, then Output A will be toggled and if the later, Output B will be toggled. By toggled I mean first data input sends output high then next data input of same type send the same output low.
Timer to remain and work as per the following example. Timer set to 15 minutes and Input1 receives a 01010 and Output A is turned on, after 15 minutes Output A will turn off. The next input of 01010 will turn Output A back on again.
Descriptive notes to be added for each new line of code and all redundant code to have all traces fully deleted.
Thank you for reading and good luck with your bidding. I will be available most times for testing or answering queries by PM.