11 #ifndef __CAT24C16_HEADER
12 #define __CAT24C16_HEADER
14 #include "../com/i2c.hpp"
22 void write(uint8_t
const & adr, uint8_t
const & data) {
23 if(
read(adr) != data) {
28 uint8_t
read(uint8_t
const & adr)
const {
38 #endif //__CAT24C16_HEADER
class com::i2cout_class i2cout
uint8_t read(uint8_t const &adr) const
Definition: CAT24C16.hpp:28
Definition: CAT24C16.hpp:18
struct ustd::endl_class endl
void write(uint8_t const &adr, uint8_t const &data)
Definition: CAT24C16.hpp:22
CAT24C16_class()
Definition: CAT24C16.hpp:20
class com::i2cin_class i2cin