Made prescaler automatic

This commit is contained in:
BlackMark committed 2020-02-21 16:32:39 +01:00
1 parent e82fb9971e
commit 3eb298053b
2 files changed
+2 -2

No files matched your search

+1 -1
Submodule i2c/i2c updated: 629be83f8a...5c3fb99c19.
+1 -1
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;