SmartWheels self-driving race car. Designed for NXP Cup. Uses FRDM-KL25Z, area-scan camera, and simple image processing to detect and navigate any NXP spec track.

Dependencies:   TSI USBDevice mbed-dev

Fork of SmartWheels by haofan Zheng

GlobalVariable.h

Committer:
hazheng
Date:
2017-04-20
Revision:
100:ffbeefc9e218
Parent:
94:32712e603a5f

File content as of revision 100:ffbeefc9e218:

/**
 * @file GlobalVariable.h
 * @brief The header file for the global variable. Some object (ex. SPI port) can have only one instance, but it is used in many different place. Thus, these variables will be declare in this header file.
 * @author Jordan Brack <jabrack@mix.wvu.edu>, Haofan Zheng <hazheng@mix.wvu.edu>
 * 
 */
#pragma once
#ifndef GLOBAL_VARIABLE_H
#define GLOBAL_VARIABLE_H

#include <mbed.h>

extern SPI g_spi_port; /*!< @brief The SPI port connection. NOTE: This is a declaration of a extern variable. It is actually defined and initialized in main.cpp file. */

#endif //GLOBAL_VARIABLE_H