Made prescaler automatic
This commit is contained in:
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
@@ -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