Skip to content

Commit 216162d

Browse files
committed
Adding new camera support
1 parent 8d60929 commit 216162d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+3348
-7
lines changed

CameraAL422B/CameraAL422B.cpp

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/**
2+
* Arduino - CameraAL422B implementation.
3+
*
4+
* CameraAL422B.cpp
5+
*
6+
* The class CameraAL422B.
7+
*
8+
* @author Dalmir da Silva <dalmirdasilva@gmail.com>
9+
*/
10+
11+
#ifndef __ARDUINO_DRIVER_CAMERA_AL422B_CPP__
12+
#define __ARDUINO_DRIVER_CAMERA_AL422B_CPP__ 1
13+
14+
CameraAL422B::CameraAL422B(unsigned char (*read)(), unsigned char vsyncPin, unsigned char hsyncPin, unsigned char pclkPin) : Camera() {
15+
this->read = read;
16+
this->vsyncPin = vsyncPin;
17+
this->hsyncPin = hsyncPin;
18+
this->pclkPin = pclkPin;
19+
address = 0x42;
20+
Wire.begin();
21+
}
22+
23+
int CameraAL422B::readFrame(OutputStream *out) {
24+
25+
}
26+
27+
#endif /* __ARDUINO_DRIVER_CAMERA_AL422B_CPP__ */

0 commit comments

Comments
 (0)