caramoan tour package

caramoan tour package

Author Topic: MikroC's SPI Ethernet ENC28J60 Library  (Read 9721 times)

Offline carlsberg11

  • Lead Acid Battery
  • *******
  • Posts: 526
  • Pogi/Ganda Points: 30
  • Gender: Male
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #280 on: May 21, 2012, 11:36:00 AM »
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.

prof indi mo parin na off yung LED? pero na ON mo na?
Anyone who has never made a mistakes has never tried anything new.

-Albert Einstein

Philippine Electronics Forum

Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #280 on: May 21, 2012, 11:36:00 AM »

Offline dummy_c

  • Diesel Generator
  • *
  • Posts: 1588
  • Pogi/Ganda Points: 162
  • Gender: Male
  • If I die 2nyt, 8's bcoz maimai is not at my side!
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #281 on: May 21, 2012, 11:43:36 AM »
^ Maagang kang natapos sa utos ni kumander sir ahh... ;D

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) ;
               }
The world's technology is always changing, no doubt about it, and I hope it’s a while yet before it impacts my ability to tinker.

Philippine Electronics Forum

Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #281 on: May 21, 2012, 11:43:36 AM »

Offline ΔЅịMø

  • Gas Turbine
  • **
  • Posts: 2903
  • Pogi/Ganda Points: 140
  • Gender: Male
  • "Live Curious"
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #282 on: May 21, 2012, 11:46:11 AM »
prof indi mo parin na off yung LED? pero na ON mo na?

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.
Computer Engineering National Organization registration thread


Philippine Electronics Forum

Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #282 on: May 21, 2012, 11:46:11 AM »

Offline ΔЅịMø

  • Gas Turbine
  • **
  • Posts: 2903
  • Pogi/Ganda Points: 140
  • Gender: Male
  • "Live Curious"
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #283 on: May 21, 2012, 11:47:52 AM »
^ Maagang kang natapos sa utos ni kumander sir ahh... ;D

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) ;
               }

Parang code po sir kasi pagnilagay ko yung codes na to:

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;

Ayaw ng ma-ping. Pero, pag-ginawa ko pong comment, mapiping na naman sya.
Computer Engineering National Organization registration thread


Philippine Electronics Forum

Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #283 on: May 21, 2012, 11:47:52 AM »

Offline ΔЅịMø

  • Gas Turbine
  • **
  • Posts: 2903
  • Pogi/Ganda Points: 140
  • Gender: Male
  • "Live Curious"
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #284 on: May 21, 2012, 12:07:19 PM »
By the way try daw to tanggal prof.
 
Code: [Select]
if(memcmp(getRequest, httpMethod, 5))       // only GET method is supported here
                {
                return(0) ;
               }

Ganoon parin yung result sir.



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.

Asan na pala si boy femfem? Pasend daw ng hex file sir.
Computer Engineering National Organization registration thread


Philippine Electronics Forum

Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #284 on: May 21, 2012, 12:07:19 PM »

Offline carlsberg11

  • Lead Acid Battery
  • *******
  • Posts: 526
  • Pogi/Ganda Points: 30
  • Gender: Male
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #285 on: May 21, 2012, 12:25:53 PM »
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.

ay, late na naman ako. indi pa ako naka punta dyan... baka mangyari din to sa akin, waaaaa!! :o :o :o


^ Maagang kang natapos sa utos ni kumander sir ahh... ;D

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) ;
               }

indi naman, pasaglit lang ako sa forum... :D :D pa update lang. yun pala indi ako updated since reset button na pinag uusapan! :o :o :o basa ko nga muna yung assignment tungkol dun :D
Anyone who has never made a mistakes has never tried anything new.

-Albert Einstein

Offline dummy_c

  • Diesel Generator
  • *
  • Posts: 1588
  • Pogi/Ganda Points: 162
  • Gender: Male
  • If I die 2nyt, 8's bcoz maimai is not at my side!
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #286 on: May 21, 2012, 12:37:29 PM »
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. ;D
The world's technology is always changing, no doubt about it, and I hope it’s a while yet before it impacts my ability to tinker.

Offline ΔЅịMø

  • Gas Turbine
  • **
  • Posts: 2903
  • Pogi/Ganda Points: 140
  • Gender: Male
  • "Live Curious"
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #287 on: May 21, 2012, 12:38:58 PM »
Kahit hex file lang sir femfem.
Computer Engineering National Organization registration thread


Offline carlsberg11

  • Lead Acid Battery
  • *******
  • Posts: 526
  • Pogi/Ganda Points: 30
  • Gender: Male
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #288 on: May 21, 2012, 12:42:21 PM »
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. ;D

kahit buong code pa prof, kaso wala pa po yung laptop sa akin,hiniram nung cousin ko kaya reading lang muna ginagawa ko. prof, pwedi po ba mamayang hapon?pupuntahan ko lang sa bahay nila at kukunin yung folder ko dun...


@ sir lurker, sige po, na discuss napo namin tong reset nung sa micro kaso nakalimutan ko e. interrupt vector pala yun... pero sige wag na lang muna reset... :D :D :D indi pa ako ngayon maka interface mga sirs ha.. wala pa yung laptop e. :(


EDIT:

tungkol po pala sa program mo sir lurker,i did modify your codes para po mapagana. kasi nung una ayaw rin, like char automation, ginawa kong const code char *automation, tapos pinalitan ko pa po yung putString(automation); ata yun to putConstring(automation);

im on my way na po muna para kunin yung folder prof.. brb po
Anyone who has never made a mistakes has never tried anything new.

-Albert Einstein

Offline dummy_c

  • Diesel Generator
  • *
  • Posts: 1588
  • Pogi/Ganda Points: 162
  • Gender: Male
  • If I die 2nyt, 8's bcoz maimai is not at my side!
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #289 on: May 21, 2012, 12:54:10 PM »
Ok gagawa ako ngayon ng ibang hardware using pic2620 para magkapareha tayo.
Sa ganon makagawa at ma test ko ang codes mo prof.
By the way ano value ng xtal sa board ninyo?
The world's technology is always changing, no doubt about it, and I hope it’s a while yet before it impacts my ability to tinker.

Offline ΔЅịMø

  • Gas Turbine
  • **
  • Posts: 2903
  • Pogi/Ganda Points: 140
  • Gender: Male
  • "Live Curious"
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #290 on: May 21, 2012, 01:00:09 PM »
Anak ng! +1 ka skin sir femfem. Gumana narin. ;D ;D Ayun lang pala yung problema.
Computer Engineering National Organization registration thread


Offline dummy_c

  • Diesel Generator
  • *
  • Posts: 1588
  • Pogi/Ganda Points: 162
  • Gender: Male
  • If I die 2nyt, 8's bcoz maimai is not at my side!
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #291 on: May 21, 2012, 01:08:37 PM »
^... put@! ;D

Finally!!!
So looks like ayaw niya na naka save sa RAM ang HTML ninyo.
The world's technology is always changing, no doubt about it, and I hope it’s a while yet before it impacts my ability to tinker.

Offline PlCUSER

  • Diesel Generator
  • *
  • Posts: 1910
  • Pogi/Ganda Points: 153
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #292 on: May 21, 2012, 01:14:16 PM »
bugbugin si prof. ;D ;D ;D

Offline dummy_c

  • Diesel Generator
  • *
  • Posts: 1588
  • Pogi/Ganda Points: 162
  • Gender: Male
  • If I die 2nyt, 8's bcoz maimai is not at my side!
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #293 on: May 21, 2012, 01:16:37 PM »
2 days na walang nagawa. ;D ;D ;D ;D
The world's technology is always changing, no doubt about it, and I hope it’s a while yet before it impacts my ability to tinker.

Offline ΔЅịMø

  • Gas Turbine
  • **
  • Posts: 2903
  • Pogi/Ganda Points: 140
  • Gender: Male
  • "Live Curious"
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #294 on: May 21, 2012, 01:19:55 PM »
NYahahahaha. Pasensya na mga master. ;D ;D ;D
Computer Engineering National Organization registration thread


Offline ΔЅịMø

  • Gas Turbine
  • **
  • Posts: 2903
  • Pogi/Ganda Points: 140
  • Gender: Male
  • "Live Curious"
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #295 on: May 21, 2012, 05:49:45 PM »
Hello? ;D ;D
Computer Engineering National Organization registration thread


Offline dummy_c

  • Diesel Generator
  • *
  • Posts: 1588
  • Pogi/Ganda Points: 162
  • Gender: Male
  • If I die 2nyt, 8's bcoz maimai is not at my side!
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #296 on: May 21, 2012, 06:03:41 PM »
Intermittent ang net ko prof dulot sa pa balik2 na brownout. :(
The world's technology is always changing, no doubt about it, and I hope it’s a while yet before it impacts my ability to tinker.

Offline ΔЅịMø

  • Gas Turbine
  • **
  • Posts: 2903
  • Pogi/Ganda Points: 140
  • Gender: Male
  • "Live Curious"
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #297 on: May 21, 2012, 06:07:18 PM »
Aw. Okay lang sir. Meron na naman kasi akong sinosolb. ;D Kung gagamit na kasi ako ng UART sa PIC at isali ko sa code, ayaw nya na namang magreply. ;D
Computer Engineering National Organization registration thread


Offline PlCUSER

  • Diesel Generator
  • *
  • Posts: 1910
  • Pogi/Ganda Points: 153
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #298 on: May 21, 2012, 07:12:49 PM »
bugbugin si prof. ;D ;D ;D

Offline ΔЅịMø

  • Gas Turbine
  • **
  • Posts: 2903
  • Pogi/Ganda Points: 140
  • Gender: Male
  • "Live Curious"
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #299 on: May 21, 2012, 07:17:20 PM »
bugbugin si prof. ;D ;D ;D

Nyahahahaha. Wala na akong kasalan sir. ;D ;D


Ayaw ni ARDUINO makipagcommunicate kay PIC. Tsk tsk tsk
Computer Engineering National Organization registration thread


Philippine Electronics Forum

Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #299 on: May 21, 2012, 07:17:20 PM »

 

Privacy Policy

Contact Us: elabph@yahoo.com