Apzhou LEGO – Let children build the world with their imagination!
The wait module used above is for convenience, and a timer can also be used.
3. Combine the above two programs to display the countdown while showing the traffic light and indicator icons;
Here’s a trick: when displaying the countdown starting from 10 seconds, if you do not include the following module in the 02 cycle, your countdown will show 10, 90, 80…10. Since you need to display the countdown and the previous “upward arrow” simultaneously, the countdown module cannot use the clear screen function; when “10” is displayed, “1” will be covered by “9”, but “0” cannot be cleared.
This module functions similarly to applying a layer of correction fluid within this rectangular box, covering the un-cleared “0”; the term correction fluid was used by one of my students in class, and it also serves as a partial clear function.When using the partial clear function, note to set “Clear Screen – Pseudo”, “Fill – True”, “Color – True”; choose the position and shape as needed!
4. Complete Program:
5. Conclusion:
During the teaching process, many teachers focus on mechanical structure and practical programming, often neglecting the image indication function. The programs and models included in the EV3 software are designed to work with image displays. I also hope everyone can apply the display module more in class.
Welcome to follow!