📄 mega8_0.h
字号:
//mega8_0.h : header file for the mega8_0 project
//
#ifndef _MEGA8_0_H_
#define _MEGA8_0_H_
#ifndef __AVR_ATmega8__
#define __AVR_ATmega8__
#endif
#define __MCU_CLOCK_FREQUENCY__ _8.0000_MHz
#include <io.h>
#include <wdt.h>
#include <sleep.h>
#include <Interrupt.h>
#include <sig-avr.h>
#include <inttypes.h>
/////////////////////////////////////////////////////////////////////////////
//mega8_0
/*
void led(void);
void led_red(void);
*/
unsigned char get_k(void);
void shuma(void);
void led_out(unsigned char a);
SIGNAL(SIG_INTERRUPT0);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -