aiocomfoconnect
aiocomfoconnect copied to clipboard
Update PROTOCOL-PDO.md
-1 doesn't exist in UINT, so I converted them to what the value would be in the respective UINTs
I must admit that at least 4294967295 looks like a magic number. Is not possible to use a more intuitive and clear syntax: 0xFF for 8 bit and 0xFFFF for 16 bit numbers?
I agree with @denmaus, while you are technically correct that it's impossible to specify a negative number with an unsigned int, it does make it more clear what the values mean by just indicating a negative number.
I prefer this clarity. Maybe a note below the table to indicate this might be better?
Maybe: -1 (0xFFFF) ?
Maybe:
-1 (0xFFFF)?
That's also fine I guess :)