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

Committer:
hazheng
Date:
Thu Mar 02 04:22:56 2017 +0000
Revision:
30:ff7f83ad6369
Child:
32:5badeff825dc
Added OV2640 programs. Added CamRegBuf, which is a more general version of OV7725RegBuf.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hazheng 30:ff7f83ad6369 1 #pragma once
hazheng 30:ff7f83ad6369 2 #ifndef CAM_REG_DEFINITIONS_H
hazheng 30:ff7f83ad6369 3 #define CAM_REG_DEFINITIONS_H
hazheng 30:ff7f83ad6369 4
hazheng 30:ff7f83ad6369 5 #define CAM_REG_WRITEWAIT 20
hazheng 30:ff7f83ad6369 6 #define CAM_REG_NOACK 0
hazheng 30:ff7f83ad6369 7 #define CAM_REG_I2CFREQ 100000
hazheng 30:ff7f83ad6369 8
hazheng 30:ff7f83ad6369 9 struct sensor_reg {
hazheng 30:ff7f83ad6369 10 uint16_t reg;
hazheng 30:ff7f83ad6369 11 uint16_t val;
hazheng 30:ff7f83ad6369 12 };
hazheng 30:ff7f83ad6369 13
hazheng 30:ff7f83ad6369 14 #endif //CAM_REG_DEFINITIONS_H