aboutsummaryrefslogtreecommitdiff
path: root/puzzle/dummy
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-14 17:23:22 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-14 17:23:22 +0200
commit15ee8bd8885c8b3d0b4650fe609c253780f04bdf (patch)
treedf952b8f62dce49283a8f3937771ccc572fc13ad /puzzle/dummy
parentef162ca3445d9adb000d7dfd1b68b181ef958926 (diff)
WIP more puzzle bus driver code
Diffstat (limited to 'puzzle/dummy')
-rw-r--r--puzzle/dummy/main.cpp6
1 files changed, 4 insertions, 2 deletions
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) { }