You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
199 B

#include <iostream>
#include "ii2c.hpp"
#include <iostream>
int main(void)
{
I2C i2c;
std::cout << static_cast<int>(i2c.readByte(100,50)) << std::endl;
i2c.writeByte(20,30,40);
return 0;
}