Skip to content

getting started exemple isn't compiling #161

Closed
@gargoyle777

Description

@gargoyle777

"
#include "camera.h"

CameraClass cam;
uint8_t fb[320*240];

void setup() {
Serial.begin(921600);

// Init the cam QVGA, 30FPS
cam.begin(CAMERA_R320x240, 30);
}

void loop() {
// put your main code here, to run repeatedly:

// Wait until the receiver acknowledges
// that they are ready to receive new data
while(Serial.read() != 1){};

// Grab frame and write to serial
if (cam.grab(fb) == 0) {
Serial.write(fb, 320*240);
}

}
"
is the code

"
error: 'CameraClass' does not name a type; did you mean 'CameraWire'?
CameraClass cam;
" is the error

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions