为了便于开发,我做了一块扩展板子:
https://blog.csdn.net/x1131230123/article/details/108772807
扩展板有一些常用器件,这样开发MSP430 F5529程序的时候,就不用杜邦线连接了。当然也可以选择杜邦线连接器件,效果都一样。
Memory game. Draw 4 geometric shapes in positions on the screen touching each other. Display to the player for 1 second. Move the 4 shapes to random points on the screen. The player must select each shape and move it back to correct position in the least amount of time. Computer must judge “close” to goal and show time to complete
接线
/*
* OLED模式设置
* -----------------OLED端口定义---------------
* OLED----MSP430
* VCC-----3.3V
* GND-----GND
* D0------P3.2
* D1------P3.0
* RES-----P2.0
* DC------P2.2
* CS------P8.1
*/
按键1 左移动
按键2 右移动
按键2长按 选中或者取消选中
随机生成形状顺序:
开始计时还原:
版权声明:本文为CSDN博主「Q742971636」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/x1131230123/article/details/122019168
为了便于开发,我做了一块扩展板子:
https://blog.csdn.net/x1131230123/article/details/108772807
扩展板有一些常用器件,这样开发MSP430 F5529程序的时候,就不用杜邦线连接了。当然也可以选择杜邦线连接器件,效果都一样。
Memory game. Draw 4 geometric shapes in positions on the screen touching each other. Display to the player for 1 second. Move the 4 shapes to random points on the screen. The player must select each shape and move it back to correct position in the least amount of time. Computer must judge “close” to goal and show time to complete
接线
/*
* OLED模式设置
* -----------------OLED端口定义---------------
* OLED----MSP430
* VCC-----3.3V
* GND-----GND
* D0------P3.2
* D1------P3.0
* RES-----P2.0
* DC------P2.2
* CS------P8.1
*/
按键1 左移动
按键2 右移动
按键2长按 选中或者取消选中
随机生成形状顺序:
开始计时还原:
版权声明:本文为CSDN博主「Q742971636」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/x1131230123/article/details/122019168
暂无评论