General area when it fits no where else

Moderator: Mmiscool

User avatar
By Electroguard
#44952 On a slightly different matter, I thought I had seen "mod" capability mentioned somewhere, but can't find it again, so maybe I just dreamed it?

I've been doing a PTZ joystick controller in arduino C++ , but I'd prefer to do an ESP Basic version now if possible.

However, the Pelco D protocol calculates the RS485 serial command checksums by summing all bytes and taking the mod of them (to ensure the checksum value doesn't exceed a bytes worth), so I would need to be able to do similar in Basic... is it possible?


Update: I've found MODULUS (%) under SPECIFITY section of Language Reference and done Bug Report feedback for it to be listed with the other Math Operators.