Difference between revisions of "Bingo Game Machine 04"
(Created page with "{| style="width: 1000px;" |- | ==Overview== 600px|center Optimize the program of position detection, preventing scoring through turning th...") |
|||
Line 49: | Line 49: | ||
===Programming Thought=== | ===Programming Thought=== | ||
− | Other programming thought is same with that of the last course, | + | Other programming thought is same with that of the last course, and a score condition judgement is required, when score is 15, the green LED lights 1s and then goes off, reset score. |
[[File:mixly-ctrl-Bingo game 4.jpg|600px|center]] | [[File:mixly-ctrl-Bingo game 4.jpg|600px|center]] | ||
Line 73: | Line 73: | ||
[[File:mixly-ctrl-mixly-ctrl-Bingo game4-code.jpg|600px|center]] | [[File:mixly-ctrl-mixly-ctrl-Bingo game4-code.jpg|600px|center]] | ||
<br> | <br> | ||
− | '''2. Victory judgement'' | + | '''2. Victory judgement''' |
<br> | <br> | ||
Content of function win: if score is 15 (score 15 points), the green LED will light 1s, reset variable score. | Content of function win: if score is 15 (score 15 points), the green LED will light 1s, reset variable score. |
Revision as of 10:26, 27 March 2017
ContentsOverviewOptimize the program of position detection, preventing scoring through turning the potentiometer casually.
Module ListModule
Other Equipment
Module SetupSetup
ProgrammingProgramming ThoughtOther programming thought is same with that of the last course, and a score condition judgement is required, when score is 15, the green LED lights 1s and then goes off, reset score. Required Program Blocks
Start to Program1. Declare variables for storing data
3. Function start isn’t changed.
5. Function BINGO isn’t changed.
6. Function time_out isn’t changed.
2. Write the function setup
3. Change function win
4. Function start isn’t changed. 5. Function BINGO isn’t changed. 6. Function time_out isn’t changed. Technical Specification
Relative CasesFAQ |