Skip to content

using WireWrapper on MKR1000 with SAMD21 core #3

@monamomeni

Description

@monamomeni

Hello and thanks for providing this library. I had tried writing a wrapper for Wire with no luck :) I need to use is in the C header of another library (not main Arduino sketch).

I am no expert sorry if I ask a basic question:

I didn't understand how FRAM in examples is initialized. Is there any other definition that should be added for specific hardware? If I want to use it with an analog front end device, with slave address 0x5B, what would be the effect of writing:
I2C_SLAVE AFE ;

and then giving reference &AFE in initialization step?
Also, I see ci2c in most of the lines. Is it applicable to Samd21 cortex M0+ on MKR1000 boards?

Thanks again!

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions