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:
- 44:15de535c4005
- Parent:
- 36:7e747e19f660
- Child:
- 46:a5eb9bd3bb55
diff -r 0d1886f4848a -r 15de535c4005 Hardwares/OV2640RegProg.h --- a/Hardwares/OV2640RegProg.h Mon Mar 27 22:09:22 2017 +0000 +++ b/Hardwares/OV2640RegProg.h Wed Mar 29 21:19:27 2017 +0000 @@ -242,7 +242,7 @@ {0x3c, 0x32}, {0x11, 0x00}, {0x09, 0x02}, - {0x04, 0x28}, /////////// //Horizontal Mirror + {0x04, 0x68}, /////////// //Horizontal Mirror {0x13, 0xe5}, {0x14, 0x48}, {0x2c, 0x0c}, @@ -429,6 +429,10 @@ {0x5a, 0x28}, //Zoom {0x5b, 0x1E}, //Zoom {0x5c, 0x00}, //Zoom +#elif (defined(RESOLUTION_WIDTH) && RESOLUTION_WIDTH == 80) && (defined(RESOLUTION_HEIGHT) && RESOLUTION_HEIGHT == 60) + {0x5a, 0x14}, //Zoom + {0x5b, 0x0F}, //Zoom + {0x5c, 0x00}, //Zoom #else #error Must pick one valid resolution!!