Hi,
No - it's not a component (and by the time it is Ben will probably have come up with something better

) - I wanted to show the development of some (hopefully useful) code - from 'first contact' through the development to the final code. You 'could' use the current code by adding the macros to your code but the ultimate aim is to produce a component for access to the FRAM.
I was hoping to get others onboard to help with either testing / ideas / code - volunteers welcome ! The above code seems to work - but I've done very limited testimg - so if you (or anyone else) could do some more testing that would be very helpful.
I've tried to outline some of my design decisions above - and some of them don't fit easily into the Flowcode world - two of the biggest issues are
1) i2c::TransactionWrite taking an array of bytes rather than a pointer (which I've sidestepped in code - although it makes the transition to a component rather more difficult)
2) TransactionWrite always outputs the device address as a first byte - which I've avoided by using lower level i2c code - but this excludes ARM and esp32 MCUs from using it.
Whether my ideas are 'good' is debateable of course - my idea is that macros such as WriteIntArray , WriteLongIntArray etc are trivial - and add very little code.
So yes - please play along - if you can try the code and make suggestions about the 'user interface' that would be great
Martin