I am wondering if I can use/ adapt arduino library wire.h on something other than arduino. Particularly a freescale board? I am trying to use i2c to talk to a rtc and I have found a lot of help using wire.h so am trying to implement it. This is a project for a company where I am an intern.
Thanks
Hi, welcome to the forum.
Using the functions in the *.ccp file is not possible. The Wire library uses the specific hardware of the microcontroller and uses the other Arduino libraries. You could write similar functions of course. Do you have to write that from scratch ? or is there already something like that ?