OLED INA226基本完成
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "isr.h"
|
||||
#include "command.h"
|
||||
|
||||
#include "ina226.h"
|
||||
|
||||
//UART1中断
|
||||
void UART1_Isr() interrupt 4
|
||||
@@ -112,7 +112,8 @@ void TM0_Isr() interrupt 1
|
||||
}
|
||||
void TM1_Isr() interrupt 3
|
||||
{
|
||||
|
||||
INA226_Read(&ina226[0]);
|
||||
P07 ^= 0x01;
|
||||
}
|
||||
void TM2_Isr() interrupt 12
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user