countup.c

来自「CPU的code banking技术实例: This Zip file c」· C语言 代码 · 共 14 行

C
14
字号
#define PROTOTYPE_ONLY
#include "bank.h"
#include "proto.h"

void countup () {
  led = 0x11;     // Change LED to 11
  delay ();       // Display the value for a few seconds
  led = 0x22;     // Change LED to 22
  delay();        // Display the value for a few seconds
  led = 0x33;     // Change LED to 33
  delay ();       // Display the value for a few seconds
}

⌨️ 快捷键说明

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