I am trying to make this work: http://www.nuelectronics.com/estore/index.php?main_page=product_info&cPath=1&products_id=4
I install the library and run an example but i get many of compile errors. Here is an example error.
C:\arduino-1.0.1-windows\arduino-1.0.1\libraries\etherShield\enc28j60.c: In function 'enc28j60WriteOp':
C:\arduino-1.0.1-windows\arduino-1.0.1\libraries\etherShield\enc28j60.c:66: error: 'LOW' undeclared (first use in this function)
C:\arduino-1.0.1-windows\arduino-1.0.1\libraries\etherShield\enc28j60.c:73: error: 'HIGH' undeclared (first use in this function)
I believe the problem is the way the variables were defined. Example:
#define CSACTIVE digitalWrite(ENC28J60_CONTROL_CS, LOW)
How can I make this work? Any suggestions?