Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions Arduino_stim_1-1/Arduino_stim_1-1.ino
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ void loop() {
switch(cam){ // Switch between high and low states
case HIGH: // Indicates Frame is being read
if(digitalRead(ins[1]) == HIGH || in == 1){ // If either 1 input or the external shutter is open
for(int i=1; i < out; i++){ // Loop over laser outputs
digitalWrite(outs[i],HIGH); // write outputs to high
}

}
count++; // increment counting variable
if(count == stim){ // If frame number equals stimulation number
Expand Down