资源简介

基于MSP430F5529开发的游戏机,包含俄罗斯方块和贪吃蛇,可通过蓝牙控制按键,游戏难度可通过按键设置

资源截图

代码片段和文件信息


#include 
#include “msp430.h“
#include “HAL_PMM.h“
#include “HAL_UCS.h“
#include “HAL_Board.h“
#include “HAL_Buttons.h“
#include “HAL_Cma3000.h“
#include “HAL_Dogs102x6.h“
#include “HAL_Menu.h“
#include “HAL_Wheel.h“
#include “LPM.h“
#include “PMM.h“
#include “Menu.h“
#include “Tetris.h“
#include “Snake.h“

uint16_t timeoutCounter;
uint16_t timeCounter=0;

static const uint8_t tiBug[] =
{
0x66    // Image width in pixels
    0x08    // Image height in rows (1 row = 8 pixels)
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x010x060x0C0x180x300x600xC00x8E0xFE0xCC0x080x180x100x10
0x100x100x360x2E0x3E0x340x0C0x080x100x300x200x200x200x600x430x47
0x4E0x4A0x5A0x560x740x650x650x450x4F0x4A0x0E0x0C0x0C0x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x010x070x1C0x300xE00x810x020x040x080x080x100x100x20
0x200x200x200x400x400x400x400x400x400x400x400x400x200x200x200x20
0x100x100x080x080x040x020x1F0x700x400xC00x800x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x010xF60x180x200x400x800x000x00
0x000x000x000x000x070x180x200x210x210x180x070x000x000x000x000x00
0x000x000x070x180x200x210x210x180x070x000x000x000x000x800x400x30
0x080x060x010x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x3F0xC00x00
0x000x000x000x000x000x000x000x000x000x000xC00x300x080xC80xC80x30
0xC00x000x000x000x000x000x000x000xC00x300x080xC80xC80x300xC00x00
0x000x000x000x000x000x000x000x000xE00x1F0x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000xF00x0E0x010x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x070x080x100x200x200x200x200x100x08
0x070x000x000x000x000x000x000x000x

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-07-27 08:43  LAB2\
     文件         501  2015-07-11 15:00  LAB2\.ccsproject
     文件       31034  2015-07-20 08:22  LAB2\.cproject
     目录           0  2015-07-27 08:43  LAB2\.launches\
     文件        4061  2015-07-26 21:09  LAB2\.launches\LAB2.launch
     文件        2569  2012-07-18 21:55  LAB2\.project
     目录           0  2015-07-27 08:43  LAB2\.settings\
     文件          62  2015-07-20 08:22  LAB2\.settings\org.eclipse.cdt.codan.core.prefs
     文件         154  2012-07-18 21:55  LAB2\.settings\org.eclipse.cdt.debug.core.prefs
     文件         564  2012-07-18 21:34  LAB2\.settings\org.eclipse.core.resources.prefs
     目录           0  2015-07-27 08:43  LAB2\CTS\
     文件       64455  2011-05-27 04:41  LAB2\CTS\CTS_HAL.c
     文件        4004  2011-05-27 04:41  LAB2\CTS\CTS_HAL.h
     文件       29899  2011-05-27 04:41  LAB2\CTS\CTS_layer.c
     文件        5034  2011-05-27 04:41  LAB2\CTS\CTS_layer.h
     文件        2283  2011-05-27 04:41  LAB2\CTS\structure.c
     文件       15447  2011-05-27 04:41  LAB2\CTS\structure.h
     目录           0  2015-07-27 08:45  LAB2\Debug\
     文件         361  2015-07-27 08:45  LAB2\Debug\ccsObjs.opt
     文件          51  2012-09-08 09:57  LAB2\Debug\ccsSrcs.opt
     文件      114860  2012-07-18 21:52  LAB2\Debug\LAB1.map
     文件       76531  2015-07-27 08:45  LAB2\Debug\LAB2.map
     文件      182318  2015-07-27 08:45  LAB2\Debug\LAB2.out
     文件      309521  2015-07-27 08:45  LAB2\Debug\LAB2_linkInfo.xml
     文件       77026  2012-07-18 21:31  LAB2\Debug\Lab4a.map
     文件       10883  2015-07-27 08:45  LAB2\Debug\main.obj
     文件        2431  2015-07-27 08:45  LAB2\Debug\main.pp
     文件        4404  2015-07-27 08:45  LAB2\Debug\makefile
     文件        5728  2015-07-27 08:45  LAB2\Debug\Menu.obj
     文件        3341  2015-07-27 08:45  LAB2\Debug\Menu.pp
     文件         250  2015-07-27 08:45  LAB2\Debug\objects.mk
............此处省略165个文件信息

评论

共有 条评论