aboutsummaryrefslogtreecommitdiff
path: root/puzzle
diff options
context:
space:
mode:
Diffstat (limited to 'puzzle')
-rw-r--r--puzzle/dummy/CMakeLists.txt2
-rw-r--r--puzzle/dummy/main.cpp7
2 files changed, 3 insertions, 6 deletions
diff --git a/puzzle/dummy/CMakeLists.txt b/puzzle/dummy/CMakeLists.txt
index acc567c..435a2ad 100644
--- a/puzzle/dummy/CMakeLists.txt
+++ b/puzzle/dummy/CMakeLists.txt
@@ -14,7 +14,7 @@ set(ARDUINO_BOARD "Arduino Uno [avr.uno]")
project(pb_mod_dummy C CXX)
-include(../../shared/pb.cmake)
+add_subdirectory(lib/pbdrv)
add_executable(main
main.cpp
diff --git a/puzzle/dummy/main.cpp b/puzzle/dummy/main.cpp
index edcc587..1c79441 100644
--- a/puzzle/dummy/main.cpp
+++ b/puzzle/dummy/main.cpp
@@ -1,7 +1,7 @@
#include <Arduino.h>
#include <Wire.h>
-#include "pb/drv/arduino/mod.h"
+#include "drv/arduino/mod.h"
const char * PBDRV_MOD_NAME = "dummy";
const i2c_addr_t PBDRV_MOD_ADDR = 0x20;
@@ -10,8 +10,5 @@ void setup() {
pbdrv_setup();
}
-void loop() {
- pbdrv_i2c_send(0x00, (uint8_t *) "hoi", 3);
- delay(100);
-}
+void loop() { }