August 2010
M T W T F S S
« Jun   Sep »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Categories

Arduino reading a CSV pachube feed with the ENC28J60

The question of how to do GET requests with the ENC28J60 arose recently so here is an example. This is using the etherShield from Nuelectronics and @andrewdlindsay‘s etherShield library.

The code assumes some familiarity with the ethershield examples.

#include <etherShield.h> static uint8_t mymac[6] = {0×54,0×55,0×58,0×10,0×00,0×28}; static uint8_t myip[4] = {192,168,1,25}; // Default gateway. The ip [...]