Laser Sensing Display for UI interfaces in the real world
Fork of skinGames_forktest by
Diff: hardwareIO/lockin.cpp
- Revision:
- 38:9b522ef2c519
- Parent:
- 37:fa6b1f15819f
diff -r fa6b1f15819f -r 9b522ef2c519 hardwareIO/lockin.cpp --- a/hardwareIO/lockin.cpp Wed Mar 13 12:29:37 2013 +0000 +++ b/hardwareIO/lockin.cpp Wed Mar 13 12:44:09 2013 +0000 @@ -52,12 +52,10 @@ adc.interrupt_state(LOCKIN_ADC_PIN, 1); adc.append(LOCKIN_ADC_PIN, catchInterupt); } else { - //adc.startmode(0,0); + // unset the lockin pin: adc.burst(0); adc.setup(LOCKIN_ADC_PIN, 0); - //adc.select(LOCKIN_ADC_PIN); adc.interrupt_state(LOCKIN_ADC_PIN, 0); - //adc.append(LOCKIN_ADC_PIN, catchInterupt); } }