Go to the documentation of this file.
23 #ifndef INCLUDED_I2C_H
24 #define INCLUDED_I2C_H
27 #include <boost/shared_ptr.hpp>
42 virtual bool write (
int addr,
const unsigned char *buf,
int nbytes) = 0;
45 virtual int read (
int addr,
unsigned char *buf,
int max_bytes) = 0;