From f51875da5344e3b837279cec4d5e5a3b41315b76 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Thu, 4 Apr 2024 17:22:28 +0200 Subject: [PATCH] remove test --- CMakeLists.txt | 5 ----- test.main.cpp | 20 -------------------- 2 files changed, 25 deletions(-) delete mode 100644 test.main.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ea05a9..e796b03 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,10 +12,5 @@ add_executable(servo_motor MyTCPClient.h main.cpp) -add_executable(test - test.main.cpp -) - target_link_libraries(servo_motor TCPSocket) target_link_libraries(servo_motor ${PiPCA9685_LIBRARY}) -target_link_libraries(test ${PiPCA9685_LIBRARY}) \ No newline at end of file diff --git a/test.main.cpp b/test.main.cpp deleted file mode 100644 index 2f742ff..0000000 --- a/test.main.cpp +++ /dev/null @@ -1,20 +0,0 @@ -#include -#include - -int main() { - - PiPCA9685::PCA9685 pca{}; - - pca.set_pwm_freq(50.0); - - while(true) { - pca.set_pwm(0, 0, 370); - usleep(1'000'000); - pca.set_pwm(1, 0, 415); - usleep(1'000'000); - pca.set_pwm(1, 0, 460); - usleep(1'000'000); - pca.set_pwm(0, 0, 415); - usleep(1'000'000); - } -} \ No newline at end of file