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 23:56:42 2017 +0000
Revision:
32:5badeff825dc
Parent:
30:ff7f83ad6369
Child:
92:e9bd429f16b5
Successfully get the first picture from the camera and displayed on the computer screen.

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 32:5badeff825dc 10 uint8_t reg;
hazheng 32:5badeff825dc 11 uint8_t val;
hazheng 30:ff7f83ad6369 12 };
hazheng 30:ff7f83ad6369 13
hazheng 30:ff7f83ad6369 14 #endif //CAM_REG_DEFINITIONS_H