?? picnic.c
字號:
/*
* P I C N I C 3 . 0
* http://picnic.sf.net
*
* PIC Embedded Web Server using a NE2000 compatible NIC or a Realtek 8019AS chip
*
* C Compiler: CCS C (TODO: Port to SDCC)
*
* This program is free software under the terms of the GNU General Public License
* Please read the file LICENCE in the same directory for more information
*
* This is the main file of picnic project. Run the compiler on this file
*
* Based upon David Witt's PIC Web Server (http://www.davidwitt.ca)
*
* Vesrion 3.1
*
* Copyright (c) 2003-2004 Rafael V. Aroca <rva@grad.icmc.usp.br or rafaelaroca@users.sf.net>
*
*/
//Configuration directives
//Comment the features you don't want to use
#define ENABLE_TEMPERATURE //Enable temperature reading and showing from a One Wire Sensor Dallas ds1820
#define ENABLE_ICMP //Enable "Ping answers"
//#define DEBUG //Enable debugging messages
//#define DEBUG_IO //NIC IO Data
#define CLOCK_SPEED 20000000 //Crystal: 20MHz/4 -> 5Mhz -> 0.2uS each clock cycle
//Para contar o uptime
//#define COUNT_UPTIME
//Initial PIC IP Address
//#define MY_IP0 192
//#define MY_IP1 168
//#define MY_IP2 2
//#define MY_IP3 100
#define MY_IP0 10
#define MY_IP1 36
#define MY_IP2 87
#define MY_IP3 135
// Definifi琿es do LCD (n鉶 estou usando o padr鉶 da biblioteca)
// por isso
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -