> > Here is my plan: > > > > I would like to use the pic18f2455 to create a web server. > > I can't see that you mention USB anyware in your post. > Any special reason you are using an USB device ? No special reason apart from the fact that I do posses one of those. The usb functionality will not be used, it wouldn't hurt would it? > > > I am not > > going to use ethernet or eeprom. I will connect it to my pc > > with the serial cable. The other end of the cable will connect to the > > serial port of the pic. The pc will connect to the pic with > > slip for the > > web server and with hyperterminal instead of the lcd of picdem.net. > > Does this sound o.k.? > > Maybe, depends on what your goals are... The goals are to satisfy myself that I can do this simplistic task, then I will start thinking of adding ethernet, but first I want to know I can configure a pic correctly, so slip is the least complicated way in terms of hardware. > > > > > 2. In compiler.h I find > > #define CLOCK_FREQ (20000000) // Hz > > As I am planning on using the internal oscillator of the pic, which is > > 6mhz,... > > Where is that "6 Mhz intosc" ? I can not find it in the data sheet. > And since you are going to use the serial interface, why not > just hook up a standard crystal (for better precision) ? I just checked in the datasheet, it is 8mhz. Would that be ok? I don't want to complicate my hardware unnecessarily at this stage, as this is an excercise, not a real project, so I would prefere not to have to worry about crystals unless it is absolutely necessary. tia -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist