EEPROM.ReadByte() parameter MSBFirst in Flowcode 10

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
User avatar
CamargoF
Posts: 40
Joined: Thu Aug 02, 2018 8:16 pm
Location: Sao Paulo, SP - Brazil
Has thanked: 6 times
Been thanked: 7 times
Contact:

EEPROM.ReadByte() parameter MSBFirst in Flowcode 10

Post by CamargoF »

I migrate the program from Flowcode 8 to Flowcode 10 and I observed two EEPROM byte read options:
On my original code, I used EEPROM.Read() to read a single byte of data.
On Flowcode 10 I observed the EEPROM.Read() may read 8 or 16-bits, so I changed to EEPROM.ReadByte() to read a single byte, but there is an additional parameter (MSBFirst) thar there is no meaning for my point of view.

Can you please explain what value I have to set for MSBFirst parameter, to read a single byte?

I understand this parameter was designed to allow the usage of little endian or big endian byte allocation on multibyte values, but it does not have any meaning on single byte reading.

Best regards,

Fernando

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: EEPROM.ReadByte() parameter MSBFirst in Flowcode 10

Post by Steve »

Please post on the Flowcode forums as these forums are rarely viewed.

Here's a link:
https://www.flowcode.co.uk/forums/index.php

Post Reply