OLED INA226基本完成

This commit is contained in:
2025-09-01 22:43:03 +08:00
parent be600d0769
commit 8154cad6bc
22 changed files with 3258 additions and 1177 deletions

View File

@@ -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
{