10/19/2023 0 Comments How to use arduino wire library![]() ![]() It was important to allow others who only had exposure to 'development' in an Arduino environment to be able to use the hardware but honestly you lose a lot by not using PSoC Creator along with the native PDL especially when it comes to assigning specific hardware peripherals to specific instances (Clocks, Timers etc.). I wrote a bunch of such libraries/wrappers to be able to compile for PSoC hardware under the Arduino platform (and IDE). ![]() I assume you want to use existing device libraries that call Arduino I2C and SPI functions? Rather than having some strange desire to use the Wire library to write I2C on PSoC? Most well written libraries abstract the communications section so you really only ever need to rewrite a handful of functions, since you only need wrappers that emulate the Arduino library API calls
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |