PIC32MZ2048efg144 and the HTTP demo

mikroC, mikroBasic and mikroPascal PRO for Microchip’s 32-bit PIC MCUs
Post Reply
Author
Message
tedems
Posts: 4
Joined: 05 Mar 2019 15:14

PIC32MZ2048efg144 and the HTTP demo

#1 Post by tedems » 05 Mar 2019 15:25

I've just started using this compiler so am a little maybe a lot confused.
I was rummaging around in LibStock and decide to install the pic32 library. The new library shows the net_ethernet_24j600_ etc....
I modified the HTTP Demo to use the SPI_Ethernet_24j600 of course the compile failed.

Should i be using the Net_ethernet or the SPI_ethernet?

Thanks for your help.

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: PIC32MZ2048efg144 and the HTTP demo

#2 Post by stefan.filipovic » 06 Mar 2019 11:16

Hi,

Welcome to the mikroE forum.

With the HTTP_Demo_24J600 example from the Network Ethernet Library package, you should use Net_Ethernet_24J600 functions.
There is an example for HTTP_Demo_24J600 with SPI_Ethernet_24J600 included in the compiler on the following path:
C:\Users\Public\Documents\Mikroelektronika\mikroC PRO for PIC32\Examples\Extra Boards\HTTP Demo j600

There is no much difference between SPI_Ethernet_24J600 and Net_Ethernet_24J600 libraries, they're both works with SPI, but there is enough difference to cause those errors in compiling.
I suggest you read the help file of these libraries, just double click on the library from the Library manager to open the help file.

Kind regards,
Stefan Filipović

Post Reply

Return to “PIC32 PRO Compilers”