Merge remote-tracking branch 'technical-git/master'

This commit is contained in:
GitHub Action 2023-01-03 16:50:24 +00:00
commit fda5703110
1 changed files with 2 additions and 2 deletions

View File

@ -432,9 +432,9 @@ function onTick()
voltage0 = getSensor("aux0")
txPayload = {}
// first byte: integer part, would be autoboxed to int
// first byte: integer part, would be converted to int
txPayload[1] = voltage0
// second byte: fractional part, would be autoboxed to int, overflow would be ignored
// second byte: fractional part, would be converted to int, overflow would be ignored
txPayload[2] = voltage0 * 256;
txCan(1, 0x600, 1, txPayload)