Actually, i am using the wifi shield. I have already test it with my network and it works successfully. The problem that i have i am creating a web server and by typing an IP address you will see data on the page. I am using SPI communication with the arduino boards but i am not able to see any data on my screen. Is there any relation between the Wifi shield SPI and the board SPI that need to be configure fisrt so as to be able to connect to the webpage? Its urgent thank you.
I have not try it. I have done a test on with the wifi web server examples, it works perfectly. But actually my project take values from SPI connection from an IC then i have to transfer it to an IP. I dont know if it because the shield uses SPI communication between the boards and shield that this causes the problem.
Can you include it in my code if possible it really urgent. The code for SPI communication between the IC was perfect. But while i integrate the code for wifi shield and to display it over a webpage. It did not see anything and then get a timeout error.
Its not hard to include
you just need to get the data in the interrupt runtime.
The displaying is then they easy'st part because there are not delay's anymore because the interrupt do the reading.
Example :
#include "TimerOne.h"
/*
TEMP VALUES FOR THE DISPLAY PURPURSE
*/
void setup()
{
Timer1.initialize(1000000*SECONDS); //
Timer1.attachInterrupt(callback); // attaches callback() as a timer overflow interrupt
}
void callback()
{
//your SPI things
}
void loop()
{
// your webserver display
// JUST GET THE TEMP DATA
}