Closed guihomework closed 4 years ago
Hi @PaulZC thanks for reviewing and sorry for the bad PR, not looking carefully about the existing examples, not noticing there were SPI separate examples and not being aware that a renaming campaign is underway in the world of programming/electronics.
I hope I tackled all your remarks, but cannot test i2c or spi code in generic fashion. I re-tested with my teensy4.0 while uncommenting the required lines.
Hi @guihomework , Don't worry! It is a very nice PR. It just needs a little "fine tuning". I will merge and test this as soon as I can - but it might not be until Monday. Best wishes - and thank you again, Paul
Thanks again for this PR - and for making the changes! I am merging this into the release-candidate branch so I can test it. I will merge into the master branch when we release v1.1.9.
As discussed here #55 , this PR adds getters for multiple variables at the same time, also avoiding extra data copy.
Example was tested on SPI1 on a teensy 4.0 but can be modified to test on a standard i2c bus that I cannot test right now immediately