Browse Source

Changed super sonic sensos code from generic to our solution.

master
nickg 5 years ago
parent
commit
45d5a1e002
  1. BIN
      Latex/main.pdf
  2. 2
      Latex/main.tex

BIN
Latex/main.pdf

2
Latex/main.tex

@ -558,7 +558,7 @@ int trig;
int echo; int echo;
//ISR for PCINT2 //ISR for PCINT2
ISR(PCINT2_vect) { ISR(PCINT2_vect) {
if((PIND & (1<<echo)) > 0) {
if((PIND & 64) > 0) {
pulseStart = micros(); pulseStart = micros();
} else { } else {
startNewMeasurement = true; startNewMeasurement = true;

Loading…
Cancel
Save