Today is the fourth lab day. The task is to design the display component. Then we need to write the core of the system, which is the controller.
The fifth component is the displayer, which is used to display the price of the product and the change.
Here is the partial code for the displayer.
|
The partial code for displayer
|
The controller is the cpu of the whole system, which send signals to display the information, dispense product or return the change.
Here is the partial code for the controller.
|
The partial code for controller |
No comments:
Post a Comment