# HG changeset patch # User Malte Bayer # Date 1323273051 -3600 # Node ID 018d4d63ad3beb061cd7df74416dcbbdcf8e109d # Parent 9857c18c5e6476ac57d7860d8afe3ab1a768dac4 implemented 500ns timer and set jumpstart time diff -r 9857c18c5e64 -r 018d4d63ad3b blackbox/lowlevel.c --- a/blackbox/lowlevel.c Wed Dec 07 15:56:05 2011 +0100 +++ b/blackbox/lowlevel.c Wed Dec 07 16:50:51 2011 +0100 @@ -87,6 +87,9 @@ //RAIL_DETECT_PORT |= _BV(RAIL_DETECT); // enable internal pull-up DDR(RAIL_POWER_PORT) |= _BV(RAIL_POWER); + // setup debut output on i2c pins + DDR(PORTC) |= _BV(PC0) | _BV(PC1); + // display init sequence on LEDs LED(1, 1); blinkdelay(); LED(2, 1); blinkdelay(); @@ -118,7 +121,8 @@ // setup data packet timer TCCR1B = (1<