Search found 1 match

by strykdlitning
Thu 25. Apr 2024, 07:13
Forum: PLIN-USB
Topic: Alternating Data Byte Automatically
Replies: 1
Views: 1430

Alternating Data Byte Automatically

My OnAfterPublish contains:

if (data[7] == 0xBC)
{
data[7] = 0xBD;
}
else {
data[7] = 0xBC;
}
return true;

However, I don't want to push the Space Bar to send the data to the hardware. Is there a function call the script can make to automatically send the new data to the hardware?

End ...