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

📄 mainfile.c

📁 AVR单片机的C语言源程序,包括按键扫描EEPROM通讯LCD显示数码管显示等等的源程序DEMO代码
💻 C
字号:
/* Example of a simple multifile project

   CodeVisionAVR C Compiler
   (C) 2000-2002 HP InfoTech S.R.L.
   www.hpinfotech.ro
*/

// this is the main file of the project

// include the header files with function declarations
#include "file1.h"
#include "file2.h"
#include "file3.h"

main() {
// declare a local variable
int i;
// call a function with the prototype declared in "file1.h"
// the function itself is located in "file1.c"
i=func1(10);
// call a function with the prototype declared in "file2.h"
// the function itself is located in "file2.c"
i=func2(i);
// call a function with the prototype declared in "file3.h"
// the function itself is located in "file3.c"
i=func3(i);
// stop here
while (1);
}

⌨️ 快捷键说明

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