Nick Gammon
Nick Gammon
> Does the example really work? It works as-is. The template deduces the type from the argument type (fnum is float). Try it yourself. > C++ allows overloading so the...
Yes, but there is already a "write" function.
Are you suggesting it as a templated overload of the standard write? I suppose that could work, so I will leave that to the library implementers which approach they would...
Quite right, which is why I changed `I2C_writeAnything` to do a single write and not byte-by-byte. But of course you need to alert the end-user to only call that (I2C_writeAnything)...
> or the underlying code fixed Quite possibly however that goes outside the scope of this particular change request. :)
Some of them use the older version which does multiple writes. Oh well. :( My code for I2C_Anything is now on GitHub: https://github.com/nickgammon/I2C_Anything
I got this exact error on my Solo 3.1.2 (Solo Tap USB-A), however I can successfully seed the Somu USB-A (hacker) version 5.0.0, and the Solu USB-C version 5.0.0. Perhaps...
Change the code? However when would it know to do the upload?
It is beyond the scope of offering this sketch to the public for me to check schematics, sorry.
You can change the sketch yourself to do this.