first commit

This commit is contained in:
2026-09-25 18:23:09 +08:00
commit a8fdc6221e
7 changed files with 634 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#include "sys.h"
void read_dlt645_2007(int nSerial, unsigned long long nMeterSN, unsigned int vStartAddr)
{
add_cmd_2007(nSerial, nMeterSN, 0x2010100, vStartAddr, 2, 2000, 500);
vStartAddr = vStartAddr + 2;
}
void init(void)
{
read_dlt645_2007(1, 0x112233445566, 200);
}
void loop(void)
{
libdlt645_run();
}