Project:Nanode/Applications: Difference between revisions

From London Hackspace Wiki

m
mNo edit summary
Line 249: Line 249:
'''EtherShield_Webserver'''
'''EtherShield_Webserver'''


Rename Ethershield_webserver.pde to EhterShield_webserver.pde then re-start IDE.


Now from the Files/EtherShield/Examples load the EtherShield_webserver sketch.
Now from the Files/EtherShield/Examples load the EtherShield_webserver sketch.
Line 278: Line 279:
And your Nanode should serve its first webpage. It doesn't do much, but does have a clickable link to Andy Lindsay's blog page.
And your Nanode should serve its first webpage. It doesn't do much, but does have a clickable link to Andy Lindsay's blog page.


Now, edit the code and chagce every reference to Arduino in the print_webpage function to Nanode
Now, edit the code and change every reference to Arduino in the print_webpage function to Nanode


// prepare the webpage by writing the data to the tcp send buffer
// prepare the webpage by writing the data to the tcp send buffer