⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 demos.h

📁 freescale badge board 开发板测试 源程序
💻 H
字号:
/*!
 * \file    led_matrix.h
 * \brief   Defines and macros for LED Matrix
 * \version $Revision: 1.1 $
 * \author  Anthony Huereca 
 */

#ifndef _DEMOS_H_
#define _DEMOS_H_
#include <MCF51JM128.h>


/*******************************************************************/
/*! Number of columns in the LED matrix */
#define COLUMNS 16

#define LEFT    1
#define RIGHT   2
#define UP      3
#define DOWN    4


typedef struct  {
  byte   x;
  byte   y;
  byte   dirx;
  byte   diry;
} Ball;

static Ball ball;

void SideBall();    
void PaddleBall();    
void Speaker();
void MagicBadge();


/*******************************************************************/

#endif /* _DEMOS_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -