finished trackswitch firmware

implemented responsewire in CU firmware

fix: pitlane response missing

pitlane lane response fix

pitlane response enter/exit pitlane, led lit when car is in pitlane

connected pitlane to main track (correct bit setting)

structured vars in pitlane code

added pitlane skeleton based on trackswitch

added car5+6 to trackswitch detector

merge

added refueling mechanism by stopping the car

added fuel management to blackbox, cars dont get stuck at the moment

better code quality

decreased blocking time for serial rx

ui fix, added car5+6 detector to blackbox

added live display to CLI (lap counter, last and best time)

added livemode display to slotcli, without communication yet

moved ISRs from main.c to interrupts.c

simplified do_controller function

car id setting for slot 5+6 working via pressing pacecar button

implemented new --drive command to CLI

more memsave through packed structure#

memsave and implemented minimum slot speed for virtual cars

implemented lap counter, doesnt count first sensor touch

corrected lap times, packed data struct for each slotcar

switched sysclk to u32

implemented lap time, there is some bug in 32bit substraction yet

jumpstart time output via interface

implemented 500ns timer and set jumpstart time

implemented car detection to cu

(0) -50 -30 +30 +50 tip

mercurial