/*
 * Copyright (c) 1999-2000 University of California, Riverside.
 * Permission to copy is granted provided that this header remains
 * intact.  This software is provided with no warranties.
 *
 * Version : 1.0
 */

/*--------------------------------------------------------------------------*/

#include <reg51.h>
#include "ccdpp.h"
#include "codec.h"
#include "uat.h"
#include "cntrl.h"

/*--------------------------------------------------------------------------*/

void main() {
    
    P0 = 0;
    CcdppInitialize();
    CodecInitialize();
    UatInitialize();
    CntrlInitialize();
    
    P0 = 1;
    CntrlCaputreImage();
    
    P0 = 2;
    CntrlCompressImage();
    
    P0 = 3;
    CntrlSendImage();
    
    P0 = 4;
    while(1);
}

<div align="center"><br /><script type="text/javascript"><!--
google_ad_client = "pub-7293844627074885";
//468x60, Created at 07. 11. 25
google_ad_slot = "8619794253";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />&nbsp;</div>