Opo sir. Eto po yung lines sir:Code: [Select]if(!memcmp(getRequest+6, "1=ON", 4)) // do we have ON command LATC6_bit=1;if(!memcmp(getRequest+6, "1=OFF", 5)) // do we have OFF command LATC6_bit=0;Pagtinanggal ko pa yan sa code sir, na-pi-ping ko po ang ENC. Pero pag anjan po yan, eto po yung lalabas:Ayaw parin sir Lurker.
if(!memcmp(getRequest+6, "1=ON", 4)) // do we have ON command LATC6_bit=1;if(!memcmp(getRequest+6, "1=OFF", 5)) // do we have OFF command LATC6_bit=0;
if(memcmp(getRequest, httpMethod, 5)) // only GET method is supported here { return(0) ; }
prof indi mo parin na off yung LED? pero na ON mo na?
^ Maagang kang natapos sa utos ni kumander sir ahh... The best way prof para ma check if code related ito, w/c is most probably, ay gagamitin mo yung working codes (yung hex) ni boy femfem.By the way try daw to tanggal prof. Code: [Select] if(memcmp(getRequest, httpMethod, 5)) // only GET method is supported here { return(0) ; }
By the way try daw to tanggal prof. Code: [Select] if(memcmp(getRequest, httpMethod, 5)) // only GET method is supported here { return(0) ; }
The best way prof para ma check if code related ito, w/c is most probably, ay gagamitin mo yung working codes (yung hex) ni boy femfem.
Napagana ko na po to lahat sir. Napa-ON at OFF ko na ang LED via Ethernet. Yung next ko pong ginawa was the "RESET" button sa HTML ko. Pinasok ko sa PIC at gumana pa. Pinatay ko ang PIC at pag-ON ko ulit, wala na.
Kahit hex file lang sir femfem.
Huwag lang muna yung resetter sir.Yung background color lang muna.By the way please bigyan mo si prof ng hex file sa working codes mo sa LED para ma test ang hardware niya. If ok lang sayo.
bugbugin si prof.