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
Diff: Hardwares/OV2640RegProg.h
- Revision:
- 70:311d32a596db
- Parent:
- 48:f76b5e252444
- Child:
- 91:7b1910ca3ad6
diff -r 34e97694f0ef -r 311d32a596db Hardwares/OV2640RegProg.h --- a/Hardwares/OV2640RegProg.h Thu Apr 13 18:02:22 2017 +0000 +++ b/Hardwares/OV2640RegProg.h Fri Apr 14 18:44:41 2017 +0000 @@ -410,26 +410,36 @@ {0xff, 0x00}, {0xe0, 0x04}, + + ///////////////// + {0x8c, 0x00}, {0xc0, 0xc8}, {0xc1, 0x96}, + ///////////////// + {0x86, 0x3d}, + + ///////////////// {0x51, 0x90}, {0x52, 0x2c}, {0x53, 0x00}, {0x54, 0x00}, {0x55, 0x88}, {0x57, 0x00}, + //////////////// +#if (defined(RESOLUTION_WIDTH) && RESOLUTION_WIDTH == 320) && (defined(RESOLUTION_HEIGHT) && RESOLUTION_HEIGHT == 240) {0x50, 0x92}, -#if (defined(RESOLUTION_WIDTH) && RESOLUTION_WIDTH == 320) && (defined(RESOLUTION_HEIGHT) && RESOLUTION_HEIGHT == 240) {0x5a, 0x50}, //Zoom {0x5b, 0x3C}, //Zoom {0x5c, 0x00}, //Zoom #elif (defined(RESOLUTION_WIDTH) && RESOLUTION_WIDTH == 160) && (defined(RESOLUTION_HEIGHT) && RESOLUTION_HEIGHT == 120) + {0x50, 0x92}, {0x5a, 0x28}, //Zoom {0x5b, 0x1E}, //Zoom {0x5c, 0x00}, //Zoom #elif (defined(RESOLUTION_WIDTH) && RESOLUTION_WIDTH == 80) && (defined(RESOLUTION_HEIGHT) && RESOLUTION_HEIGHT == 60) + {0x50, 0xA4}, {0x5a, 0x14}, //Zoom {0x5b, 0x0F}, //Zoom {0x5c, 0x00}, //Zoom