CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

ethernet 18f4620

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
jeftab



Joined: 10 Feb 2011
Posts: 10

View user's profile Send private message

ethernet 18f4620
PostPosted: Tue Feb 15, 2011 3:30 pm     Reply with quote

I am working on a project with the 18f4620 and the 28jc60.
My whole code is ready, but when it comes to the web page, which includes some java scripts and other things, I don't know how to include them in my code instead of only having it like this which doesn't work:
Code:

#define STACK_USE_ICMP  1
#define STACK_USE_ARP   1
#define STACK_USE_TCP   1
#define STACK_USE_HTTP  1

#define STACK_USE_DHCP  1   //   en  DHCP seulement

#define STANDARD_ADC_CHANNEL 0

#define STACK_USE_CCS_PICENS    TRUE
#define STACK_USE_MCPENC         TRUE
#define  STACK_USE_CCS_PICEEC    FALSE
#define  STACK_USE_CCS_EWL3V     FALSE
 #define USER_LED1    PIN_D2   



#include <18f4620.h>
#use delay(clock=40000000)
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7)
#fuses HS,NOWDT,NOLVP,NODEBUG

 
#include  "tcpip\stacktsk.c"
#include "tcpip/mlcd.c"
void buzgaz (void);


/**********************************************************************************************
// le tableau qui suivt est la 2 page du site web
// Pour l'instant, il faut écrire un petit message de bienvenue
**********************************************************************************************/
//Page index
const char  HTML_INDEX_PAGE[]=[u]"<HTML><HEAD><META HTTP-EQUIV=refresh CONTENT=3><TITLE>PICNET</TITLE></HEAD><BODY><H1>TEST TEST TEST<Br>%1<Br>%y<Br>%z
</H1>   
       <form method=get  action=\"\">
      <div align=\"left\">
      <p><font
      size=4>Led1 <input  type=radio value=1  name=led1>
      on
      <input  type=radio value=0 name=led1>
      off</p>
     
     <input  type=submit value=Appuyer>
      </p></form>
      </body></html>";[/u]
E_Blue



Joined: 13 Apr 2011
Posts: 417

View user's profile Send private message

PostPosted: Mon Apr 18, 2011 9:01 am     Reply with quote

Try changing

Code:
#include "tcpip/mlcd.c"


by

Code:
#include "tcpip\mlcd.c"

_________________
Electric Blue
jeftab



Joined: 10 Feb 2011
Posts: 10

View user's profile Send private message

hmm
PostPosted: Mon May 02, 2011 7:34 am     Reply with quote

your point ?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group