Ethernet Camera and SDcard
Dependents: Camera_LS_Y201_HTTP_SDcard_file_server_WIZwiki-W7500 VC0706_jins VC0706_FTP_Client_Ethernet_MQTT
Fork of Camera_LS_Y201 by
Diff: Camera_LS_Y201.cpp
- Revision:
- 2:e32cc85c8bd8
- Parent:
- 1:43358d40f879
--- a/Camera_LS_Y201.cpp Wed Dec 01 23:10:56 2010 +0000 +++ b/Camera_LS_Y201.cpp Mon Jun 29 07:36:02 2015 +0000 @@ -86,7 +86,7 @@ * @param is Image size. * @return Error code. */ -Camera_LS_Y201::ErrorCode Camera_LS_Y201::setImageSize(ImageSize is) { +Camera_LS_Y201::ErrorCode Camera_LS_Y201::setImageSize() {//ImageSize is) { uint8_t send[9] = { 0x56, 0x00, @@ -99,7 +99,7 @@ 0x00 // 0x11:320x240, 0x00:640x480, 0x22:160x120 }; uint8_t recv[5]; - switch (is) { +/* switch (is) { case ImageSize160x120: send[8] = 0x22; break; @@ -112,6 +112,8 @@ default: return InvalidArguments; } + */ + send[8] = 0x00; if (!sendBytes(send, sizeof(send), 200 * 1000)) { return SendError; }