Reaction measuring game on a FRDM-KL46 board using KDS

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Reaction measuring game on a FRDM-KL46 board using KDS

Reaction measuring game on a FRDM-KL46 board using KDS

Reaction game in KDS

 

Description:

 

A project made in KDS using the FRDM-MKL46Z256VLL4 board's LCD screen and the two switches, SW1 and SW3, to create a reaction testing game.

Hold the board with both of your thumbs above the two switches.

After "rdy" (ready) appears, the screen will either display "left", "righ" (right), or "both" and you must press the appropriate button(s).

It will then display your reaction time in milliseconds.

You initially get 1000ms to react, this decreases by 25ms for every point you score to a minimum of 500ms.

1 point is given per correct response.

If you do not react fast enough, or press the wrong button(s), you lose the game.

Once you lose, your score will be displayed and then the game will reset back at "rdy" with the 1000ms time to react.

 

Issues:

You can cheat by pressing both buttons every time, this will not work 100% of the time though.

标签 (1)
附件
无评分
版本历史
最后更新:
‎07-17-2014 03:19 AM
更新人: