delay.c

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

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


// This is the delay function for the display
void delay () { 
  int j = 0;
  for (j = 0; j < 30000; j++);   // Display for a few seconds
  for (j = 0; j < 30000; j++);
  for (j = 0; j < 30000; j++);
}

⌨️ 快捷键说明

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