Commits

Trammell Hudson committed ae6d55b

Hard code threshold; it is not in clock ticks

  • Participants
  • Parent commits e12c6ca

Comments (0)

Files changed (1)

 	TCCR1B = 5; // clk/1024
 	const uint8_t cpm = 10;
 	const uint16_t dit_time = (1600 / cpm) * 16;
-	const uint16_t button_threshold = dit_time / 2;
+	const uint16_t button_threshold = 16384; // dit_time * 1024 * 4;
 
 	// TCNT0 is configured for a 500 Hz tone on OC0A
 	// At CLK/64, this is turns on and off each time