Skip to content

Commit

Permalink
Added scripts to Switch power outlets on and off via 433 MHz Transmit…
Browse files Browse the repository at this point in the history
…ter and a test script, which checks on another Pin, whether something is sent.

The ReceiveTest.cpp script has the function to check whether a given raspberry pi has the capability to send data. Only if this script shows a result after starting SwitchOutlet, a given device may be used to switch outlets
  • Loading branch information
Machriam committed Jun 10, 2024
1 parent c77bfc6 commit 09e54b4
Show file tree
Hide file tree
Showing 8 changed files with 898 additions and 0 deletions.
Binary file not shown.
7 changes: 7 additions & 0 deletions PlantMonitorControl/Install/SwitchableOutlets/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
all: SwitchOutlet ReceiveTest

SwitchOutlet: RCSwitch.cpp RCSwitch.h SwitchOutlet.cpp
g++ -DRPI RCSwitch.cpp SwitchOutlet.cpp -o SwitchOutlet -lwiringPi

ReceiveTest: RCSwitch.cpp RCSwitch.h ReceiveTest.cpp
g++ -DRPI RCSwitch.cpp ReceiveTest.cpp -o ReceiveTest -lwiringPi
Loading

0 comments on commit 09e54b4

Please sign in to comment.