Permalink
Browse files

having debug output

  • Loading branch information...
1 parent fa51288 commit 65bfb8553a98ffc64a6107607472f179b6f7911a @tuxcodejohn tuxcodejohn committed Apr 15, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 firmware_buzzIface/buzzIface.c
@@ -66,10 +66,14 @@ ISR(PCINT0_vect)
uint8_t act ;
act = ~PINB & (MASKI_B & phasemask_b);
if (act){
+ USART_puts('P');
+ //USART_putc('0'+ act);
switch (act){
case (1 << 0): //Chan A key is B0 --> PCINT0
case (1 << 1): //Chan B key is B1 --> PCINT1
phasemask_b &= ~(act);
+ USART_putc('0'+ phasemask_b);
+ USART_putc(']');
sendline[sendplace++] = act;
break;
default :

0 comments on commit 65bfb85

Please sign in to comment.