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

Hardwares/CamRegDefinitions.h

Committer:
hazheng
Date:
2017-03-02
Revision:
30:ff7f83ad6369
Child:
32:5badeff825dc

File content as of revision 30:ff7f83ad6369:

#pragma once
#ifndef CAM_REG_DEFINITIONS_H
#define CAM_REG_DEFINITIONS_H

#define CAM_REG_WRITEWAIT    20
#define CAM_REG_NOACK        0
#define CAM_REG_I2CFREQ      100000 

struct sensor_reg {
    uint16_t reg;
    uint16_t val;
};

#endif //CAM_REG_DEFINITIONS_H