?? repeat.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 + -