Code


7 Modules:

    adc.c - used to read input from photodiode

    brake.c - used to determine brake intensity and display on 7segment

    can.c - used to drive can transceivers for PCB –PCB communication in the same “vehicle”

    dist_calc.c - calculate distance based on GPS coordinates

    led.c - used to drive GPIO’s used for LED control and control VLC timing

    main.c - handles inter-module handshaking – code for all 4 boards in the same project for debugging ease

    uart.c - communicates with and interprets GPS information

    util.c – contains several functions used in multiple places or that shouldn’t necessarily belong to a single module



Back to Home Page