📄 led_flash.h
字号:
//LED_FLASH.h : header file for the MySch project
//
///////////////////////////////////////////////////////
//用于测试闪灯代码
//#ifndef _LED_FLASH_H_
//#define _LED_FLASH_H_
#ifndef __AVR_ATmega16__
#define __AVR_ATmega16__
#endif
#include <io.h>
#include <wdt.h>
#include <sleep.h>
#include <Interrupt.h>
#include <sig-avr.h>
#include <inttypes.h>
/////////////////////////////////////////////////////////////////////////////
//MySch
// Misc #defines
#define LED_ON sbi(PORTB,0)
#define LED_OFF cbi(PORTB,0)
#define LED_ON1 sbi(PORTB,1)
#define LED_OFF1 cbi(PORTB,1)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -