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
larification on EEPROM.ReadByte() and MSBFirst Parameter in Flowcode 10
-
- Posts: 17
- http://meble-kuchenne.info.pl
- Joined: Tue Mar 16, 2021 9:47 pm
- Has thanked: 6 times
Re: larification on EEPROM.ReadByte() and MSBFirst Parameter in Flowcode 10
Hi! Fernando
I am using only READ parameter for reading and WRITE parameter for writing the Byte data and it works for me.
Abhi
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
I did it, but it is not working for PIC16F18444.