From ee7e1f9f73d7a9985282807c3c0333de92805e90 Mon Sep 17 00:00:00 2001 From: Jarno Lehtinen Date: Thu, 1 Jun 2017 15:53:05 +0300 Subject: [PATCH] Update c64_usb_mouse_2.ino --- C64_1351_Mouse/c64_usb_mouse_2.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/C64_1351_Mouse/c64_usb_mouse_2.ino b/C64_1351_Mouse/c64_usb_mouse_2.ino index 8b718b8..b4b8652 100644 --- a/C64_1351_Mouse/c64_usb_mouse_2.ino +++ b/C64_1351_Mouse/c64_usb_mouse_2.ino @@ -220,7 +220,7 @@ inline void startTimers() { ISR(TIMER1_CAPT_vect) { // Now we little after start of SID reading process - // Start moment is in ICR1L and time now is in TCNT2 + // SID trigger pulse timer value is in ICR1 #ifdef DEBUG Serial.println("TIMER1_CAPT_vect:"); #endif @@ -237,7 +237,7 @@ ISR(TIMER1_CAPT_vect) { // 2. force output compare to make it happen (doesn't raise interrupts) TCCR1C |= _BV(FOC1A) | _BV(FOC1B); // FOC1A / FOC1B Force Output Compare A and B (that are in register TCCR1C) - // OCIE1A: Timer/Counter Output Compare Match Interrupt Enable A, ISR(TIMER1_COMPA_vect) + // OCIE1A: Timer/Counter Output Compare Match Interrupt Enable A, ISR(TIMER1_COMPA_vect) // disable ICIE1, Input Capture Interrupt TIMSK1 = _BV(OCIE1A); // init the output compare values @@ -263,7 +263,7 @@ ISR(TIMER1_CAPT_vect) { ISR(TIMER1_COMPA_vect) { // now potx are sent. we don't know if poty is still in progress. - // POTX is HIGH from OC1A TIMER1 compare match + // POTX is HIGH from OC1A TIMER1 compare match. POTY is ?. #ifdef DEBUG Serial.println("TIMER1_COMPA_vect"); Serial.flush();