?? main.cpp
字號:
/*
* Copyright 2008, writen by shikosan
* File name: main.cpp
* 主程序
* then uses CNTRL module to capture, compress,
* and transmit one image
*/
#include "ccd.h"
#include "ccdPP.h"
#include "cntrl.h"
#include "codec.h"
#include "uart.h"
int main(int argc, char *argv[])
{
char *uartOutputFileName = argc > 1 ? argv[1] : "uart_out.txt";
char *imageFileName = argc > 2 ? argv[2] : "flower.txt";
/* initialize the modules */
UartInitialize(uartOutputFileName);
CcdInitialize(imageFileName);
CcdppInitialize();
CodecInitialize();
CntrlInitialize();
/* simulate functionality */
CntrlCaptureImage();
CntrlCompressImage();
CntrlSendImage();
return 0;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -