This commit is contained in:
2025-10-10 10:56:58 +08:00
parent a39c23ed53
commit 5f45d4955b
5 changed files with 94 additions and 3 deletions

Binary file not shown.

View File

@@ -5,6 +5,7 @@
*/
#include <iostream>
#include <thread>
#include <wiringPi.h>
#include "/home/orangepi/RKApp/ApCreate/NetraLib/include/Netra.hpp"
@@ -56,6 +57,11 @@ int main(int argc, char *argv[])
WriteGpio(GPIO_Pin2, value);
cout << "[sendGpioSignal] 完成" << endl;
this_thread::sleep_for(chrono::milliseconds(100));
WriteGpio(GPIO_Pin1, !value);
WriteGpio(GPIO_Pin2, !value);
return 0;
}