init
This commit is contained in:
35
HARDWARE/exti.h
Normal file
35
HARDWARE/exti.h
Normal file
@@ -0,0 +1,35 @@
|
||||
#ifndef __EXTI_H
|
||||
#define __EXIT_H
|
||||
#include "sys.h"
|
||||
/**************************************************************************
|
||||
作者:平衡小车之家
|
||||
我的淘宝小店:http://shop114407458.taobao.com/
|
||||
**************************************************************************/
|
||||
#define INT PBin(15) //PB5连接到MPU6050的中断引脚
|
||||
void EXTI_Init(void); //外部中断初始化
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user