This is an example program that actually allows the car to race using the FRDM-TFC library!
You are viewing an older revision! See the latest version
Homepage
Overview¶
This program is an example program that uses the FRDM-TFC library to actually permit a car using the FDRM-TFC shield + FRDM-KL25Z to race around a center line track.
Implementation Notes¶
CAR INTERFACE¶
DIP SWITCH:
-------------
1 - ON: Run main racing program; OFF: Run Demo program (see main.cpp)
2 - ON: Log frame data to array (when 1=ON)
3 - ON: Risky race option; OFF: Conservative race option (when 1=ON)
4 - ON: Start Gate Kill Switch Active (when 1=ON)
POTS
-------------
0 - controls nothing at the moment
1 - controls nothing at the moment
PUSHBUTTONS
-------------
A - START car race!
B - END CAR RACE / (while holding down when 'log frame data' active will also output terminal data)