hello.pwp
//-------------------------------------------------------------------------
//
// PicoWeb Project File for Simple Hello World! Web Page
//
//-------------------------------------------------------------------------
//
// application-specific preprocessor definitions
//
#define BANNER "\r\nPicoWeb Hello World!\r\n"
#define EEPROM_IP /* use file "ip" for default IP address */
#define NET_CONFIG_IP /* allow IP address reconfiguration via net */
#define ENABLE_WATCHDOG /* use Atmel watchdog timer hardware */
#define DEBUGGER /* include debugger firmware */
//#undef DEBUGGER
//#define CLOCK 8000000 /* processor clock rate */
#define CLOCK 7372000 /* processor clock rate */
#define BAUD_RATE 19200 /* serial port baud rate */
//
// application-specific HTML and image file names
//
hello.htm // ii00 (default Web page)
picoweb.jpg // ii01 (PicoWeb logo image)
//
// included application-specific pcode and/or AVR assembly language follows
//
#avr_reset
;--------------------------------------------------------------------------
; this code is executed each time microcontroller is reset
;--------------------------------------------------------------------------
;
#avr_slow
;--------------------------------------------------------------------------
; this code is executed each trip through "slow idle" loop (~1 sec period)
;--------------------------------------------------------------------------
;
#avr_fast
;--------------------------------------------------------------------------
; this code is executed each trip through "fast idle" loop
;--------------------------------------------------------------------------
;
#avr_asm
;--------------------------------------------------------------------------
; application-specific CGI pcode and AVR assembly routines go here
;--------------------------------------------------------------------------
;
Back
|