📄 my_idea.c
字号:
// ***********************************************************
// Project:
// Author:
// Module description:
// ***********************************************************
#include <avr\io.h> // Most basic include files
#include <avr\interrupt.h> // Add the necessary ones
#include <avr\signal.h> // here
// Define here the global static variables
//
int My_global;
// Interrupt handler example for INT0
//
SIGNAL(SIG_INTERRUPT0) {
}
// It is recommended to use this coding style to
// follow better the mixed C-assembly code in the
// Program Memory window
//
void my_function(void) { // Put the open brace '{' here
asm("nop"); // Inline assembly example
}
// ***********************************************************
// Main program
//
int main(void) {
while(1) { // Infinite loop; define here the
my_function(); // system behaviour
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -