Anonymous

Project:Nanode/Applications: Difference between revisions

From London Hackspace Wiki
→‎Quick Tutorial: Include instructions for editing NanodeMAC.cpp to correct case error for #include of WProgram.h
(→‎Quick Tutorial: Remove instructions to edit EtherShield_DHCPTest as they're no-longer required.)
(→‎Quick Tutorial: Include instructions for editing NanodeMAC.cpp to correct case error for #include of WProgram.h)
Line 132: Line 132:
*Linux users: place the EtherShield folder into arduino-0022/libraries/  (or /usr/share/arduino/libraries/ ?)
*Linux users: place the EtherShield folder into arduino-0022/libraries/  (or /usr/share/arduino/libraries/ ?)


The NanodeMAC library is also required from here: https://github.com/thiseldo/NanodeMAC
6. Download the NanodeMAC Library
 
Download here: https://github.com/thiseldo/NanodeMAC
 
If you're using an operating system with a case-sensitive filesystem (e.g., Linux) then edit NanodeMAC.cpp to delete (or comment out) the line:
 
  #include <wprogram.h>
 
This is required because the correct name of the file is "WProgram.h" (in arduino-0022/hardware/arduino/cores/arduino/). There's no need to keep or correct this line as the file has already been included by NanodeMAC.h (which has already been corrected for case in the git repository).
 
Place in the Arduino libraries folder as for EtherShield, above.


Be sure to set the baud rate at 19200.
Be sure to set the baud rate at 19200.
9

edits