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/OV7725RegBuf.cpp
- Revision:
- 32:5badeff825dc
- Parent:
- 25:6f63053cee81
--- a/Hardwares/OV7725RegBuf.cpp Thu Mar 02 04:26:33 2017 +0000 +++ b/Hardwares/OV7725RegBuf.cpp Thu Mar 02 23:56:42 2017 +0000 @@ -73,6 +73,8 @@ m_sccbCtrl.stop(); m_sccbCtrl.unlock(); + + wait_us(2); } //Blocking method. Do not use during the running state!! @@ -98,6 +100,8 @@ m_sccbCtrl.unlock(); + wait_us(2); + return readValue; }