I2Cwrapper v0.5.0
Generic framework for Arduino I2C target devices
SimpleBuffer.h File Reference

Simple and ugly serialization buffer for any data type. Template technique and CRC8 adapted from Nick Gammon. More...

Detailed Description

Simple and ugly serialization buffer for any data type. Template technique and CRC8 adapted from Nick Gammon.

Simple and ugly serialization buffer for any data type. Just a buffer, a current position pointer used for reading from and writing to the buffer, and template functions for reading and writing any data type. The template technique is adapted from Nick Gammon's I2C_Anything library, the CRC8 routine is from him also.

Author

Copyright (c) 2022 juh

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.

Author

Copyright (c) 2022 juh

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.

Classes

class  SimpleBuffer
 

Macros

#define log(...)
 

Macro Definition Documentation

◆ log

#define log (   ...)