Added more demo stuff.

This commit is contained in:
2025-12-31 17:27:50 +01:00
parent d0476f8d6f
commit 54e89e412a
12 changed files with 742 additions and 8 deletions

View File

@@ -146,11 +146,7 @@ uint32_t BCDriverTinyCan::readRawByte( uint32_t deviceID, uint8_t registerID ) c
if( getState() != DriverState::Ready)
throw BCException( "readRawValue error: driver not loaded." );
//uint32_t result = transmitter.readRawValue( deviceID, registerID );
//value.fromValue<uint32_t>( myRandomByte );
TCanMsg msg;
::TCanMsg msg;
// msg verpacken
msg.MsgFlags = 0L;
@@ -218,7 +214,7 @@ void BCDriverTinyCan::writeRawByte( uint32_t deviceID, uint8_t registerID ,uint8
qDebug() << " --- BCDriverTinyCan writeRawValue: " << value;
return;
struct TCanMsg msg;
::TCanMsg msg;
int timeout_count = cTIMEOUT_COUNT;
msg.MsgFlags = 0L;