Versatile remote IO design


Author Message
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5994
Posted: 07:28am 09 Jul 2025      

Hi phenix, phill,

Please explain to me who you use STR2BIN and BIN2STR to convert a signed 32 bit integer supplied in an integer array x%(3) to a signed 64bit integer (or float).

I understand you could replace the array x%(3) with a string (x$ length 4) since I2C READ supports a string array. But I do not see how the sign moves from 32 bit to 64 bit using STR2BIN and BIN2STR. Eager to learn...

Regards,

Volhout
Edited 2025-07-09 17:28 by Volhout