From 732e4ac84648e9bef947f5a3ab04c18f07323113 Mon Sep 17 00:00:00 2001 From: follower Date: Sat, 8 Dec 2007 09:01:35 +0000 Subject: [PATCH] Add skeleton of Wiz810MJ class. git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@89 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b --- .../wiz810mj/src/demo/WizDemo4/WizDemo4.pde | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) 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