]> jspc29.x-matter.uni-frankfurt.de Git - avr.git/commitdiff
Pt100: flash LED2 on timer interrupt
authorPhilipp Klaus <klaus@physik.uni-frankfurt.de>
Fri, 2 Jun 2017 11:33:16 +0000 (13:33 +0200)
committerPhilipp Klaus <klaus@physik.uni-frankfurt.de>
Fri, 2 Jun 2017 11:33:16 +0000 (13:33 +0200)
pt100/main.c

index 7fa89f711a7d1faf5d9994f11715e180b3d3da39..aa795c12eb6feca3e6969d87f431c9da87c2aa92 100644 (file)
@@ -179,6 +179,8 @@ void init(void) {
  * 500 Hz ticks
  *********************/ 
 ISR(TIMER0_COMPA_vect) {
+  LED2_ON();
+  LED2_OFF();
   if(++time == calib_settings.period) {
     time = 0;
     measurement_active = 1;