To send data via ENC28J60 sent by pic18f2550.
The data is sent to the sever.
data is TEMp and HUMI
Have also begun Onge network.
RESET > RA2
CS > RC0
INT > RB2
SCk > RB1
SDI > RB0
SDO > RC7
PIC18F2550 + ENC28J60
- tihomir.losic
- mikroElektronika team
- Posts: 2138
- Joined: 02 Dec 2009 14:16
- Location: Serbia
- Contact:
Re: PIC18F2550 + ENC28J60
Hello,
please, look at our HTTP_Demo example for SPI Ethernet board.
There you have example for PIC18F4550. Try to implement them for your microcontroller.
If you stuck with some of problem, feel free to contact me.
Thanks.
Best regards,
Losic Tihomir
please, look at our HTTP_Demo example for SPI Ethernet board.
There you have example for PIC18F4550. Try to implement them for your microcontroller.
If you stuck with some of problem, feel free to contact me.
Thanks.
Best regards,
Losic Tihomir
mikroElektronika [Support team]
-
- Posts: 10
- Joined: 30 Sep 2010 08:42
Re: PIC18F2550 + ENC28J60
my folder no file Example Ethernet for PIC18F4550
- tihomir.losic
- mikroElektronika team
- Posts: 2138
- Joined: 02 Dec 2009 14:16
- Location: Serbia
- Contact:
Re: PIC18F2550 + ENC28J60
Hello,
I attached you our example for SPI Ethernet board.
Best regards,
Losic Tihomir
I attached you our example for SPI Ethernet board.
Best regards,
Losic Tihomir
- Attachments
-
- SPI Ethernet.rar
- (133.06 KiB) Downloaded 675 times
mikroElektronika [Support team]
-
- Posts: 10
- Joined: 30 Sep 2010 08:42
Re: PIC18F2550 + ENC28J60
code error
Message Text is
';' expected but sbit found
Code: Select all
// 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
';' expected but sbit found
Re: PIC18F2550 + ENC28J60
Hi,
You are probably using a very old version of the compiler when sbit was not supported yet.
Please upgrade to the latest release:
http://www.mikroe.com/eng/products/view ... o-for-pic/
You are probably using a very old version of the compiler when sbit was not supported yet.
Please upgrade to the latest release:
http://www.mikroe.com/eng/products/view ... o-for-pic/
-
- Posts: 10
- Joined: 30 Sep 2010 08:42
Re: PIC18F2550 + ENC28J60
thank " zristic "zristic wrote:Hi,
You are probably using a very old version of the compiler when sbit was not supported yet.
Please upgrade to the latest release:
http://www.mikroe.com/eng/products/view ... o-for-pic/