Skip to content

Commit

Permalink
Update Photon_HydroponicWateringSystem_Sketch.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
nitinjs authored Aug 28, 2024
1 parent 0047172 commit a0a2387
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Sketch/Photon_HydroponicWateringSystem_Sketch.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
//by Nitin Sawant
//[email protected]

int r1 = D0;//relay
int r1 = D0;//relay - for water pump switch on/off

int t1 = D1;//trigger ss1
int e1 = D2;//echo ss1
int t2 = D3;//trigger ss2
int e2 = D4;//echo ss2
int t1 = D1;//trigger ss1 - ultrasonic sensor1
int e1 = D2;//echo ss1 - ultrasonic sensor1
int t2 = D3;//trigger ss2 - ultrasonic sensor2
int e2 = D4;//echo ss2 - ultrasonic sensor2

float distance1, distance2;
float upper_level,lower_level;
Expand Down

0 comments on commit a0a2387

Please sign in to comment.