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-06
Revision:
56:7d3395ae022d
Parent:
29:f87d8790f57d
Child:
83:b2c7c6f76575

File content as of revision 56:7d3395ae022d:

#ifndef GLOBAL_VARIABLE_H
#define GLOBAL_VARIABLE_H

#include <mbed.h>
#include "Core.h"

#ifdef SW_DEBUG
#include <rtos.h>
extern Mutex g_sw_spi_lock;
#endif 

extern SPI g_spi_port;
extern SW::Core g_core;

#endif //GLOBAL_VARIABLE_H