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

📄 dipled.h

📁 基本回音程式,可以改变parameter来测试其速度和音响。
💻 H
字号:
#ifndef __DIPLED_H__
#define __DIPLED_H__

/* 
 * Functions to access the CPLD controlled DIP and LED 
 * 
 * 31May07 .. initial version
 *
 * Note: 
 * - work for Large Memory Model only 
 * - to work in Small Memory Model, we need to use 
 *   the far_peek & far_poke (to be supported)
 * - ..
 */

unsigned short DSK_DIP_read(unsigned short dip_num);
unsigned short DSK_DIP_read_all(void);
void DSK_LED_on(unsigned short led_num);
void DSK_LED_off(unsigned short led_num);
void DSK_LED_set(unsigned short led_pat);

#endif

⌨️ 快捷键说明

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