Made prescaler automatic
This commit is contained in:
2
i2c/i2c
2
i2c/i2c
Submodule i2c/i2c updated: 629be83f8a...5c3fb99c19
@@ -5,7 +5,7 @@
|
||||
void i2cTest()
|
||||
{
|
||||
using namespace i2c;
|
||||
using config = Hardware<Prescaler::PRESCALER_1, 100000>;
|
||||
using config = Hardware<100000>;
|
||||
|
||||
I2c<config> twi;
|
||||
constexpr auto I2CADDRESS = 0x4B;
|
||||
|
||||
Reference in New Issue
Block a user