Made prescaler automatic

This commit is contained in:
2020-02-21 16:32:39 +01:00
parent e82fb9971e
commit 3eb298053b
2 changed files with 2 additions and 2 deletions

Submodule i2c/i2c updated: 629be83f8a...5c3fb99c19

View File

@@ -5,7 +5,7 @@
void i2cTest() void i2cTest()
{ {
using namespace i2c; using namespace i2c;
using config = Hardware<Prescaler::PRESCALER_1, 100000>; using config = Hardware<100000>;
I2c<config> twi; I2c<config> twi;
constexpr auto I2CADDRESS = 0x4B; constexpr auto I2CADDRESS = 0x4B;