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

📄 repeat.c

📁 Outputs messages to a 2line LCD
💻 C
字号:
/************************************************************ Controls LED 4 on the STK200. Simply toggles the state of LED 4 every time it runs. Uses ReRunMe to requeue itself each time. ************************************************************/#include "stdafx.h"
#include <avrstdio.h>#include "multi.h"#include	"multest.h"static UNSIGNED state;void Continous(void) {	UNSIGNED val;	state = ~state;	val = (UNSIGNED)inp(PORTB);	val &= 0xef;	val |= state & 0x10;  	outp(PORTB, val);   ReRunMe(4);}

⌨️ 快捷键说明

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