Page 1 of 1

larification on EEPROM.ReadByte() and MSBFirst Parameter in Flowcode 10

Posted: Fri May 09, 2025 12:50 pm
by CamargoF
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

Re: larification on EEPROM.ReadByte() and MSBFirst Parameter in Flowcode 10

Posted: Sat May 10, 2025 2:02 pm
by Abhijit
Hi! Fernando

I am using only READ parameter for reading and WRITE parameter for writing the Byte data and it works for me.

Abhi

Re: larification on EEPROM.ReadByte() and MSBFirst Parameter in Flowcode 10

Posted: Sat May 10, 2025 3:00 pm
by CamargoF
I did it, but it is not working for PIC16F18444.