diff --git a/branches/follower/wiz810mj/src/demo/WizDemo4/WizDemo4.pde b/branches/follower/wiz810mj/src/demo/WizDemo4/WizDemo4.pde index 2c7b3f7..2214941 100644 --- a/branches/follower/wiz810mj/src/demo/WizDemo4/WizDemo4.pde +++ b/branches/follower/wiz810mj/src/demo/WizDemo4/WizDemo4.pde @@ -95,6 +95,27 @@ SpiConfiguration SPI = SpiConfiguration(); /* ----------------------- */ + +/* ------ WIZ810MJ ------ */ + +class Wiz810MJ { + + public: + Wiz810MJ(int resetPin); + + private: + int _resetPin; +}; + +Wiz810MJ::Wiz810MJ(int resetPin) { + // TODO: We should really allow the chip-select pin to be set here? + // Or require that it's defined. (Currently in the library file 'types.h'.) + _resetPin = resetPin; +} + +/* ----------------------- */ + + // #define PIN_RESET 9 // WIZnet module /RESET #define PIN_RESET 8 // WIZnet module /RESET