diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-14 17:23:22 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-14 17:23:22 +0200 |
commit | 15ee8bd8885c8b3d0b4650fe609c253780f04bdf (patch) | |
tree | df952b8f62dce49283a8f3937771ccc572fc13ad /lib/pbdrv/drv | |
parent | ef162ca3445d9adb000d7dfd1b68b181ef958926 (diff) |
WIP more puzzle bus driver code
Diffstat (limited to 'lib/pbdrv/drv')
-rw-r--r-- | lib/pbdrv/drv/arduino/mod.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pbdrv/drv/arduino/mod.cpp b/lib/pbdrv/drv/arduino/mod.cpp index fab9dd5..ac051db 100644 --- a/lib/pbdrv/drv/arduino/mod.cpp +++ b/lib/pbdrv/drv/arduino/mod.cpp @@ -25,6 +25,7 @@ void pb_setup() { Wire.begin((int) PB_MOD_ADDR); Wire.setWireTimeout(PB_TIMEOUT_US, true); Wire.setClock(PB_CLOCK_SPEED_HZ); + // TODO: check if onReceive replaces or appends a handler function Wire.onReceive(recv_event); } |