led.h
来自「最基本介绍C的很不错的程序代码」· C头文件 代码 · 共 28 行
H
28 行
/********************************************************************** * * Filename: led.h * * Description: Header file for LED-related functionality. * * Notes: The constants in this file are specific to Arcom's * Target188EB hardware. * * * Copyright (c) 1998 by Michael Barr. This software is placed into * the public domain and may be used for any purpose. However, this * notice must not be changed or removed and no warranty is either * expressed or implied by its publication or distribution. **********************************************************************/#ifndef _LED_H#define _LED_H#define LED_RED 0x80 /* The red LED is controlled by bit 7. */#define LED_GREEN 0x40 /* The green LED is controlled by bit 6. */void toggleLed(unsigned char ledMask);#endif /* _LED_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?