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/ArduCAM.cpp
- Revision:
- 72:b8f2eebc8912
- Parent:
- 70:311d32a596db
- Child:
- 79:bdbac82c979b
diff -r 5601d2faa61d -r b8f2eebc8912 Hardwares/ArduCAM.cpp --- a/Hardwares/ArduCAM.cpp Fri Apr 14 18:58:28 2017 +0000 +++ b/Hardwares/ArduCAM.cpp Sun Apr 16 19:50:50 2017 +0000 @@ -329,6 +329,12 @@ ardu_utft_write_DATA(0xF8, 0x00); #endif } +#ifdef CAM_DISP_DEBUG + else + { + ardu_utft_write_DATA(static_cast<uint8_t>(pixel >> 8), static_cast<uint8_t>(pixel)); + } +#endif } #ifdef CAM_DISP_DEBUG else