This commit is contained in:
2026-03-20 21:16:58 +08:00
parent 286ff98b8e
commit 90c3d919df
248 changed files with 94554 additions and 0 deletions

28
user/Protocol/ModbusTest.c Executable file
View File

@@ -0,0 +1,28 @@
#include "../main/SystemInclude.h"
//==============================================================================
u16 controlCammand;
/******************************************************************************/
void ReadParameterProtocol( void )
{
while( byteNumber > 1 )
{
dataByte = 2;
switch( startAddr & 0xf000 ) // judge:0x8000,9000,A000,D000,E000,F000
{
//==============================================================================
case 0: tempL.Word[0] = 0;
break;
default:
tempL.Word[0] = 0;
break;
}
CopyDataAndJudgeComplete();
}
}