Hello everyone! In these hours I am working on an important project in which I should use a PIC24EP512GU810 as a web server to view the data of some environmental sensors. Needless to say, the amount of data to be published prevents me from using the limited "SPI_Ethernet" library with the related and working example. Furthermore, as we all know, this dignified library has a defect, that is, it does not allow the publication of html pages greater than 1.5kb. I therefore proceeded to install in my compiler the "Network Ethernet Library", whose example (working), however, allows the simple drafting of a web page, with some active links, but with no possibility of publishing variable data, possibly coming from an ADC or other sensor. As advised by the guys from Mikroe, I tried to convert the example of the "SPI_Ethernet" library, using those provided for the "Network Ethernet Library", realizing in the transcription phase, that the service dedicated to the responses coming from the client "Spi_Ethernet_UserTCP", it is completely different from the one foreseen by the other library "Net_Ethernet_28j60_UserTCP", that is, the first one uses a "function" with a whole series of variables to load, while the other one uses a "procedure" with the only variable of the "socket" array . I tried to write the attached code, but unfortunately it doesn't work. I was wondering if any of you had experienced the same problem and if it had solved somehow. I tried to search the forum, in libstock, but unfortunately I have not found anything useful ... On the net and on the forum I found a lot of frustration in this regard with people who said they had solved their problems by switching to Arduino or Raspberry, but I did not want to abandon the Mikroe suite, I am fond of it ...
![Sad :(](./images/smilies/icon_sad.gif)
Many thanks to those who can help me ...
The attached example I tested on EasyPic Fusion V7, with EthClick on Mikrobus1 and MCU CARD with PIC24EP512GU810 ...
MikroC PRO for PIC, MikroC PRO for dsPIC, MikroC PRO for PIC32, MikroC PRO for ARM, Visual TFT, Visual GLCD,
http://www.teolab.it