caramoan tour package

caramoan tour package

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

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 #160 on: May 17, 2012, 08:06:44 PM »
Pwedi ba sasali master???
 :o :o :o :o :o :o :o :o :o
Matagal ko ng gustong makalaro ng GSM module.  ;D ;D ;D ;D ;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.

Philippine Electronics Forum

Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #160 on: May 17, 2012, 08:06:44 PM »

Offline carlsberg11

  • Lead Acid Battery
  • *******
  • Posts: 526
  • Pogi/Ganda Points: 30
  • Gender: Male
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #161 on: May 17, 2012, 08:19:47 PM »
Prof, femfem,
You will need to alter a bit ung code ni master lurker para matest yan without soldering sa pins ng mcu nyo.
Consider this as a simple exercise sa inyo. Kaya kaya nyo yan.
Let's test your knowledge sa PIC hw architecture and your compiler.

ang sisipag nyong magturuan at mag aral. Im considering na gawing give away ung isang sim900 PIM kit ko.
Icp muna ko ng magandang challenge. ;D ;D ;D
challenge accepted! :o:o:o:o sige sir.... ill review master lurker's code. salamat po dito sir lurker.... :D :D :D pink ba naman talaga gusto ni sir picpic :D :D
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 #161 on: May 17, 2012, 08:19:47 PM »

Offline PlCUSER

  • Diesel Generator
  • *
  • Posts: 1909
  • Pogi/Ganda Points: 153
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #162 on: May 17, 2012, 10:43:00 PM »
@master lurker / sir alyas / prof /  femfem / and all.
kasali lahat sa challenge. meron na kong candidate sa challenge ngaun pero hanap muna ko nang mas challenging. ;D ;D ;D

Philippine Electronics Forum

Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #162 on: May 17, 2012, 10:43:00 PM »

Offline carlsberg11

  • Lead Acid Battery
  • *******
  • Posts: 526
  • Pogi/Ganda Points: 30
  • Gender: Male
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #163 on: May 18, 2012, 02:55:41 AM »


ayan po! :D :D :D pink na pink na po yan sir picpic ha? :D :D :D

di ko pa na try sa hardware, brb lang po :D
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 #163 on: May 18, 2012, 02:55:41 AM »

Offline carlsberg11

  • Lead Acid Battery
  • *******
  • Posts: 526
  • Pogi/Ganda Points: 30
  • Gender: Male
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #164 on: May 18, 2012, 03:23:10 AM »
maya na lang po pala. sana maya mapa ilaw ko na to :D :D :D go mahiwagang gate ON! :D :D


^UP narin po :D morning :D
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 #164 on: May 18, 2012, 03:23:10 AM »

Offline ΔЅịMø

  • Gas Turbine
  • **
  • Posts: 2903
  • Pogi/Ganda Points: 140
  • Gender: Male
  • "Live Curious"
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #165 on: May 18, 2012, 06:59:29 AM »
Nyahahahaha. At di na nakatulog si boy femfem. ;D Magandang umaga. ;D ;D
Computer Engineering National Organization registration thread


Offline PlCUSER

  • Diesel Generator
  • *
  • Posts: 1909
  • Pogi/Ganda Points: 153
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #166 on: May 18, 2012, 09:53:30 AM »
an chibai mo boyfemfem! na pa blink mo na ung led? ;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 #167 on: May 18, 2012, 10:23:23 AM »
I will dissect the button example project.
Again I am just new to HTML so please bear with, I may not be so accurate or might be totally wrong.
So if anyone has a question, violent reaction or donation please feel free to interrupt me.

Let us start with the HTML code.
Here is the very simple HTML code.

Code: [Select]
char automation[] =
"<form name=\"input\" action=\"/\" method=\"get\">\
<body bgcolor=#99FFCC>\
<h1 align=center>ENC28j60 Home Automation System</h1>\
<br>\
<table align=center width=200 bgcolor=#4974E2 border=2><tr>\
<td align=center colspan=2><font size=6><b>Gate</b></font>\
</td></tr><tr><td align=center bgcolor=#F52887><input name=\"1\" width=60 \
type=\"submit\" value=\"ON\"></td><td align=center bgcolor=#F52887>\
<input name=\"1\" type=\"submit\" value=\"OFF\"></td></tr></table>\
</form></body></html>";

Code: [Select]
char automation[] =We will save the HTML code to our mcu's RAM.
This will enable us to change the HTML code at runtime much faster than when saved to ROM.


Code: [Select]
"<form name=\"input\" action=\"/\" method=\"get\">\In order to read the user input we need to define first the following attributes,
Code: [Select]
form name="input"
action="/"
method="get">
I am not sure if action="/" is arbitrary, please see HTML tutorials on the net for more info.

By the way the exact HTML code (the exact code that the ENC will send) of the above code is,
Code: [Select]
<form name="input" action="/" method="get">As you noticed that everytime a double quatation mark (") is needed
a backslash (\) should be inserted before it.
Again this is for the mikroC compiler and are ommited after a successfull compilation.

Code: [Select]
<body bgcolor=#99FFCC>\
<h1 align=center>ENC28j60 Home Automation System</h1>\
<br>\
These are self explanatory.
It's just settings for the background color, header title and a next line respectively.


Code: [Select]
<table align=center width=200 bgcolor=#4974E2 border=2><tr>\
<td align=center colspan=2><font size=6><b>Gate</b></font>\
Self explanatory. I also have already mentioned the creation of a table a while back.


Code: [Select]
</td></tr><tr><td align=center bgcolor=#F52887><input name=\"1\" width=60 \
type=\"submit\" value=\"ON\">
Again the <tr><td> and </td></tr> are already discussed a while back.

What is important are these attributes,
Code: [Select]
input name="1"
type="submit"
value="ON"
<input name=1> "1" is a variable where the condition of the input, button in this example, is saved.
<type="submit"> the input will be submitted, to the ENC in this example
<value="ON"> the caption on the button. This is also the conditoned that will be saved
to the "1" variable if the user will press the button.

Upon pressing this button the browser will send to the ENC the following request,
Code: [Select]
http://192.168.0.111/?1=ON192.168.0.111 is my ENC's configured IP adress.


Code: [Select]
<td align=center bgcolor=#F52887>\
<input name=\"1\" type=\"submit\" value=\"OFF\"></td></tr></table>\
This is an another button with the following attributes,
Code: [Select]
input name="1"
type="submit"
value="OFF"
Same as the first one except for the value attribute.

Upon pressing this button the browser will send to the ENC the following request,
Code: [Select]
http://192.168.0.111/?1=OFF
The </td>, </tr> and </table> are just end tags.
Same goes with,
Code: [Select]
</form></body></html>";


It's so easy right???
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 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 #168 on: May 18, 2012, 10:43:33 AM »
We are now going to detect what button that the user pressed
and do something in our mcu like turning ON or OFF the LED
depending on what button is pressed.

We are well aware that upon pressing the "ON" button on the browser,
the ENC will receive a request, 
Code: [Select]
http://192.168.0.111/?1=ON
And when the "OFF" button is pressed,
Code: [Select]
http://192.168.0.111/?1=OFF
This is how we will detect the request and do the necessary parsing.
Code: [Select]
unsigned int  SPI_Ethernet_UserTCP(unsigned char *remoteHost, unsigned int remotePort, unsigned int localPort, unsigned int reqLength, TEthPktFlags *flags)
        {
        unsigned int    len;            // my reply length

        if(localPort != 80)                         // I listen only to web request on port 80
                {
                return(0) ;
                }

        // get 15 first bytes only of the request, the rest does not matter here
        for(len = 0 ; len < 15 ; len++)
        {
        getRequest[len] = SPI_Ethernet_getByte() ;
        }
        getRequest[len] = 0 ;
        len = 0;


        if(memcmp(getRequest, httpMethod, 5))       // only GET method is supported here
                {
                return(0) ;
                }
                if(!memcmp(getRequest+6, "1=ON", 4))   // do we have ON command
                  LATB0_bit = 1;      // set PORTD bit7
                if(!memcmp(getRequest+6, "1=OFF", 5))     // do we have OFF command
                  LATB0_bit = 0;


                 len =  putConstString(httpHeader) ;             // HTTP header
                 len += putConstString(httpMimeTypeHTML) ;       // with HTML MIME type
                 len += SPI_Ethernet_putString(automation) ;

        if(len == 0)                                            // what do to by default
                {
                len =  putConstString(httpHeader) ;             // HTTP header
                len += putConstString(httpMimeTypeHTML) ;       // with HTML MIME type
                len += SPI_Ethernet_putString(automation) ;
                }

        return(len) ;                                           // return to the library with the number of bytes to transmit
        }



Code: [Select]
unsigned int  SPI_Ethernet_UserTCP()This is called every time the ENC receives a TCP request.

Code: [Select]
unsigned int    len;       // my reply length
        if(localPort != 80)      // I listen only to web request on port 80
                {
                return(0) ;
                }
The comments should save me for further explanation.


Code: [Select]
for(len = 0 ; len < 15 ; len++)
        {
        getRequest[len] = SPI_Ethernet_getByte() ;
        }
Get only the 15 first bytes of the request.
192.168.0.111/?1=OFF is only 11 bytes long.

Code: [Select]
getRequest[len] = 0;Put a null character on the 15th byte for string termination.

Code: [Select]
len = 0;Resets the len variable.
Very important since the len will be our reply's length.

Code: [Select]
if(memcmp(getRequest, httpMethod, 5))       // only GET method is supported here
                {
                return(0) ;
                }
Duh!!?

Code: [Select]
if(!memcmp(getRequest+6, "1=ON", 4))   // do we have ON command
         LATB0_bit = 1;                      // set PORTB bit0
This is interpretted as,
Is the getRequest string, starting at the 6th character up to the 4th character after that, is equal to "1=ON"?
If yes then TURN ON PORTB.B0.
Otherwise continue with the code.

Code: [Select]
if(!memcmp(getRequest+6, "1=OFF", 5))     // do we have OFF command
                  LATB0_bit = 0;                // clear PORTB bit0
Likewise this is interpretted as,
Is the getRequest string, starting at the 6th character up to the 5th character after that, is equal to "1=OFF"?
If yes then TURN OFF PORTB.B0.
Otherwise continue with the code.

Code: [Select]
           len =  putConstString(httpHeader) ;             // HTTP header
                 len += putConstString(httpMimeTypeHTML) ;       // with HTML MIME type
                 len += SPI_Ethernet_putString(automation) ;

        if(len == 0)                                            // what do to by default
                {
                len =  putConstString(httpHeader) ;             // HTTP header
                len += putConstString(httpMimeTypeHTML) ;       // with HTML MIME type
                len += SPI_Ethernet_putString(automation) ;
                }

        return(len) ;                                           // return to the library with the number of bytes to transmit
Duh!!? ;D ;D

There are other ways how to parse the "1=ON" and "1=OFF" string.
The one I explained above is just one way and might not be so effective.
Please do try to experiment more on this, you might find the most appropriate and effective way.

If you look at the codes as a whole it seems to be so complicated.
The first time I saw the mikroC examples I thought I need a month to get started with the ENC module.
But by looking at it line by line and editing it one at a time, it make sense! ;D
The most important thing is a working hardware.
Thanks to master PICUSER he gave us the chance to play with this cute little module of his.
And also thanks to mikroE for making the most beginner friendly libraries ever.

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 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 #169 on: May 18, 2012, 10:48:50 AM »
Here is another assignment prof.
And boy femfem please take note this time. ;D

Make a software resetter of your ENC+PIC hardware.
Just a single button.
This will enable you to reset your hardware remotely
and might be very useful for bootloading.
I have not tried the UDP bootloader so I'm not
sure if this can be useful. ;D

Hints:
1) You are using a PIC18 mcu so it is
   possible to reset it by software.
   Please look at page 273 of your mcu's datasheet.
   See the mikroC help file to see how to use assembly code.

2) The reset pin of the ENC is connected to
   the mcu.

With that hints this is just like a walk in the park for you two.
Walang kopyahan hah... ;D
The deadline for this assignment will be 12noon today. ;D ;D
The last two assingments are already a day overdue so you two
have an "F" on those assigntments. ;D ;D

OT:
Tika nuod muna ako sa mga links ni sabinila. ;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 carlsberg11

  • Lead Acid Battery
  • *******
  • Posts: 526
  • Pogi/Ganda Points: 30
  • Gender: Male
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #170 on: May 18, 2012, 11:02:19 AM »
galing ni sir lurker mag tuts oh!! pweding pwedi! palong palo!! :D :D :D very catchy e!  :D :D :D sige sir maya ko na lang to babasahin lahat,, raming utos sa bahay :o :o :o
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 #171 on: May 18, 2012, 01:31:13 PM »
^ Grabe si kumander mo makautos. ;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 #172 on: May 18, 2012, 06:11:07 PM »
^ Grabe si kumander mo makautos. ;D ;D ;D

Wala na sir. Late na po ako. May seminar po kasi kami eh. :( Pero, I'll test this code muna and later, sasagutan yung assignment. :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 #173 on: May 18, 2012, 07:22:00 PM »
Ki-nopy paste ko po yung code nyo sir Lurker and made a simple edit on the PIN config para magamit yung TX.

And here it is:

Code: [Select]
// duplex config flags
#include  "__EthEnc28j60.h"

#define Spi_Ethernet_HALFDUPLEX     0x00  // half duplex
#define Spi_Ethernet_FULLDUPLEX     0x01  // full duplex

// mE ehternet NIC pinout
sfr sbit SPI_Ethernet_Rst at LATC0_bit;  // for writing to output pin always use latch (PIC18 family)
sfr sbit SPI_Ethernet_CS  at LATC1_bit;  // for writing to output pin always use latch (PIC18 family)
sfr sbit SPI_Ethernet_Rst_Direction at TRISC0_bit;
sfr sbit SPI_Ethernet_CS_Direction  at TRISC1_bit;
// end ethernet NIC definitions


/************************************************************
 * ROM constant strings
 */
const code unsigned char httpHeader[] = "HTTP/1.1 200 OKnContent-type: " ;  // HTTP header
const code unsigned char httpMimeTypeHTML[] = "text/htmlnn" ;              // HTML MIME type
const code unsigned char httpMimeTypeScript[] = "text/plainnn" ;           // TEXT MIME type
unsigned char httpMethod[] = "GET /";


char Value[] =
"<HTML>
<title>ASIMO</title>
<HEAD></HEAD>
<BODY>
<center>
<a href="http://s1262.photobucket.com/albums/ii604/asimo69/?action=view&amp;current=logo.png" target="_blank"><img src="http://i1262.photobucket.com/albums/ii604/asimo69/logo.png" border="0" alt="Photobucket"></a>
<script src=/s></script>
<table width="500" border="0">
<tr>
<td colspan="2" style="background-color:#FFA500;">
<h1 alighn="center">SWITCH VIA ETHERNET</h1>
</td>
</tr>
<tr valign="top">
<br>
<form name="input" action="/" method="get">
<td align=center bgcolor=#FFD700>
<input name="1" type="submit" value="ON"></td>
<td align=center bgcolor=#FFD700>
<input name="1" type="submit" value="OFF"></td>
</tr>
</FORM>
</td>
</tr>
</center>
<tr>
<td colspan="2" style="background-color:#FFA500;text-align:center;">
Copyright © <a href=http://www.electronicslab.ph/forum/>[url=http://www.electronicslab.ph]www.electronicslab.ph[/url]</a>
</tr>
</table>
</body>
</html>
" ;


/***********************************
 * RAM variables
 */
unsigned char   myMacAddr[6] = {0x00, 0x14, 0xA5, 0x76, 0x19, 0x3f} ;   // my MAC address
unsigned char   myIpAddr[4]  = {192, 168,  2, 60 } ;                   // my IP address
unsigned char   gwIpAddr[4]  = {192, 168,  2, 144 } ;                   // gateway (router) IP address
unsigned char   ipMask[4]    = {255, 255, 255,  0 } ;                   // network mask (for example : 255.255.255.0)
unsigned char   dnsIpAddr[4] = {192, 168,  2,  1 } ;                   // DNS server IP address

unsigned char   getRequest[15] ;                                        // HTTP request buffer
unsigned char   dyna[29] ;                                              // buffer for dynamic response
char color1[] = "#FFFF00";                                              // color yellow
char color2[] = "#4974E2";                                              // color blue

#define putConstString  SPI_Ethernet_putConstString
#define putString  SPI_Ethernet_putString


unsigned int  SPI_Ethernet_UserTCP(unsigned char *remoteHost, unsigned int remotePort, unsigned int localPort, unsigned int reqLength, TEthPktFlags *flags)
        {
        unsigned int    len;            // my reply length

        if(localPort != 80)                         // I listen only to web request on port 80
                {
                return(0) ;
                }

        // get 15 first bytes only of the request, the rest does not matter here
        for(len = 0 ; len < 15 ; len  )
        {
        getRequest[len] = SPI_Ethernet_getByte() ;
        }
        getRequest[len] = 0 ;
        len = 0;


        if(memcmp(getRequest, httpMethod, 5))       // only GET method is supported here
                {
                return(0) ;
                }
        if(!memcmp(getRequest 6, "1=ON", 4))   // do we have ON command
                PORTC=0x40;

        if(!memcmp(getRequest 6, "1=OFF", 5))     // do we have OFF command
                PORTC=0x00;


                 len =  putConstString(httpHeader) ;             // HTTP header
                 len  = putConstString(httpMimeTypeHTML) ;       // with HTML MIME type
                 len  = SPI_Ethernet_putString(Value) ;

        if(len == 0)                                            // what do to by default
                {
                len =  putConstString(httpHeader) ;             // HTTP header
                len  = putConstString(httpMimeTypeHTML) ;       // with HTML MIME type
                len  = SPI_Ethernet_putString(Value) ;
                }

        return(len) ;                                           // return to the library with the number of bytes to transmit
        }

unsigned int  SPI_Ethernet_UserUDP(unsigned char *remoteHost, unsigned int remotePort, unsigned int destPort, unsigned int reqLength, TEthPktFlags *flags)
        {
        return(0) ;           // no UDP reply
        }

/*
 * main entry
 */
long i;
void    main()
        {
        //CMCON |=7;
        ADCON0= 0;
        ADCON1 = 0x0F ;                 // ADC convertors will be used
        ADCON2 = 0x40;

        PORTA = 0 ;
        TRISA = 0x00 ;          // set PORTA as input for ADC
        TRISC = 0;           // set direction to be output

        /*
         * starts ENC28J60 with :
         * reset bit on RC0
         * CS bit on RC1
         * my MAC & IP address
         * full duplex
         */
        SPI1_Init();
        SPI_Rd_Ptr = SPI1_Read;
        SPI_Ethernet_Init(myMacAddr, myIpAddr, Spi_Ethernet_FULLDUPLEX) ;
        // dhcp will not be used here, so use preconfigured addresses
        SPI_Ethernet_confNetwork(ipMask, gwIpAddr, dnsIpAddr) ;

        while(1)                            // do forever
                {
                /*
                 * if necessary, test the return value to get error code
                 */
                SPI_Ethernet_doPacket() ;   // process incoming Ethernet packets
                }
        }

Kaya lang, meron pong problema sir. Everytime na i-ki-click ko yung ON, mag-o-ON yung LED, but mag ha-hang na sya. Ano kaya ang dahilan sir?
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 #174 on: May 18, 2012, 07:36:38 PM »
Ayun! Nakuha ko na. ;D ;D ;D



Bukas ko nalang post dito yung code. Wala akong bluetooth eh. Nasa CP ko yung video. ;D Salamat master _Lurker_. +1 ka dito. :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 #175 on: May 18, 2012, 08:09:31 PM »
Funny gays??? ;D ;D

Ah so meron pala LED sa TX pin ng USART.
By the way congrats prof ang galing mo!

Next topic natin prof change natin ang backgroung ng ON button sa browser
kapag naka ON ang LED. At i-change natin ang backgroung ng OFF button
kapag naka OFF ang LED.
Bukas na kasi sasara na later net cafe dito.

Then after that LCD na tayo para masimulan mo na personal project mo.
Nahirapan ako ngayon pagpa display sa LCD.
Sana ma chambahan ito mamaya. ;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 #176 on: May 18, 2012, 08:19:51 PM »
Yung reset ang sinusubukan ko ngayon. Ewan ko anong nangyari sa ENC ko at di nagrereply sa ping request. Maybe a signal narin for me to go home. ;D Mukha na kasing magtatambay na ako dito sa school eh to solve this. ;D I am now making the reset button sa HTML. Okay sir. Post ko lang yung video bukas. :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 #177 on: May 18, 2012, 08:44:29 PM »
Mukhang tinamaan ata ang ENC ko. Umiinit kasi ang regulator kung ikakabit ko na eh. Okay na sana to bukas. Tsk tsk tsk
Computer Engineering National Organization registration thread


Offline PlCUSER

  • Diesel Generator
  • *
  • Posts: 1909
  • Pogi/Ganda Points: 153
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #178 on: May 18, 2012, 08:50:31 PM »
agay. :o :o :o

Offline ΔЅịMø

  • Gas Turbine
  • **
  • Posts: 2903
  • Pogi/Ganda Points: 140
  • Gender: Male
  • "Live Curious"
Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #179 on: May 18, 2012, 08:51:44 PM »
Sana okay na to bukas. :D Kailangan lang siguro ng pahinga. Di ko naman inover power kasi controlled ng regulator yung voltage ko. Hindi ko nga alam bakit ganito ang nangyari eh. :D
Computer Engineering National Organization registration thread


Philippine Electronics Forum

Re: MikroC's SPI Ethernet ENC28J60 Library
« Reply #179 on: May 18, 2012, 08:51:44 PM »

 

Privacy Policy

Contact Us: elabph@yahoo.com