From 15ee8bd8885c8b3d0b4650fe609c253780f04bdf Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 14 Jun 2024 17:23:22 +0200 Subject: WIP more puzzle bus driver code --- puzzle/dummy/main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'puzzle/dummy') diff --git a/puzzle/dummy/main.cpp b/puzzle/dummy/main.cpp index ab10760..e5f5e24 100644 --- a/puzzle/dummy/main.cpp +++ b/puzzle/dummy/main.cpp @@ -4,6 +4,8 @@ #include "drv/arduino/mod.h" #include "pb-mod.h" +#define TEST_A + #ifdef TEST_A #define ADDR_RX 0x69 #define ADDR_TX 0x20 @@ -28,8 +30,8 @@ void setup() { } void loop() { - pb_i2c_send(ADDR_TX, (uint8_t *) MSG, MSG_SIZE); - delay(MSG_DELAY); + // pb_i2c_send(ADDR_TX, (uint8_t *) MSG, MSG_SIZE); + // delay(MSG_DELAY); } void pb_i2c_recv(const uint8_t * data, size_t size) { } -- cgit v1.2.3