Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 96f310f

Browse files
committed
Laser crossed print statements
1 parent 413bd02 commit 96f310f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/experiment_control_V2/experiment_control_V2.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,9 +334,11 @@ void checkSensors() {
334334
//Serial.print(laser_on);
335335
if (laser_check(laser_pin_string, LASER_1_ON, LASER_1_OFF, lastLaserState1)){
336336
laser1Crossed = true;
337+
Serial.println("Laser 1 crossed");
337338
}
338339
if (laser_check(laser_pin_feeder, LASER_2_ON, LASER_2_OFF, lastLaserState2)){
339340
laser2Crossed = true;
341+
Serial.println("Laser 2 crossed");
340342
}
341343
}
342344

0 commit comments

Comments
 (0)