OV7670 Library_2
Fork of ov7670 by
Revision 5:599fcf817d98, committed 2015-02-07
- Comitter:
- singularity
- Date:
- Sat Feb 07 17:19:41 2015 +0000
- Parent:
- 4:119b4c04a4ed
- Commit message:
- Prog test acquis cam 2d
Changed in this revision
ov7670.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 119b4c04a4ed -r 599fcf817d98 ov7670.cpp --- a/ov7670.cpp Sat Apr 05 14:01:37 2014 +0000 +++ b/ov7670.cpp Sat Feb 07 17:19:41 2015 +0000 @@ -1,7 +1,7 @@ #include "ov7670.h" -OV7670::OV7670(PinName sda, PinName scl, PinName vs, PinName hr, PinName we, PortName port, int mask, PinName rt, PinName o, PinName rc) : _i2c(sda,scl),vsync(vs),href(hr),wen(we),data(port,mask),rrst(rt),oe(o),rclk(rc) +OV7670::OV7670(PinName sda, PinName scl, PinName vs, PinName hr, PinName we, Name port, int mask, PinName rt, PinName o, PinName rc) : _i2c(sda,scl),vsync(vs),href(hr),wen(we),data(port,mask),rrst(rt),oe(o),rclk(rc) { _i2c.stop(); _i2c.frequency(OV7670_I2CFREQ);