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:
32:5badeff825dc
Parent:
30:ff7f83ad6369
Child:
92:e9bd429f16b5

File content as of revision 32:5badeff825dc:

#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 {
    uint8_t reg;
    uint8_t val;
};

#endif //CAM_REG_DEFINITIONS_H