larification on EEPROM.ReadByte() and MSBFirst Parameter in Flowcode 10
Posted: Fri May 09, 2025 12:50 pm
Dear Support Team,
After migrating my project from Flowcode 8 to Flowcode 10, I noticed that EEPROM byte reads now offer two options.
In Flowcode 8, I used EEPROM.Read() to retrieve a single byte of data without issues. In Flowcode 10, however, EEPROM.Read() appears to handle both 8- and 16-bit reads, so I switched to EEPROM.ReadByte() to ensure only a single byte is read.
I noticed that EEPROM.ReadByte() includes an additional parameter: MSBFirst. From my perspective, this parameter doesn't seem relevant when reading a single byte.
Could you please clarify what value I should assign to the MSBFirst parameter for a single-byte read?
I understand that MSBFirst may be intended to control endian-ness when handling multi-byte values, but since single-byte operations are not affected by byte order, its presence here is unclear.
Thank you in advance for your support.
Best regards,
Fernando
After migrating my project from Flowcode 8 to Flowcode 10, I noticed that EEPROM byte reads now offer two options.
In Flowcode 8, I used EEPROM.Read() to retrieve a single byte of data without issues. In Flowcode 10, however, EEPROM.Read() appears to handle both 8- and 16-bit reads, so I switched to EEPROM.ReadByte() to ensure only a single byte is read.
I noticed that EEPROM.ReadByte() includes an additional parameter: MSBFirst. From my perspective, this parameter doesn't seem relevant when reading a single byte.
Could you please clarify what value I should assign to the MSBFirst parameter for a single-byte read?
I understand that MSBFirst may be intended to control endian-ness when handling multi-byte values, but since single-byte operations are not affected by byte order, its presence here is unclear.
Thank you in advance for your support.
Best regards,
Fernando