finnal
This commit is contained in:
Binary file not shown.
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user