Add skeleton of Wiz810MJ class.

git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@89 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
master
follower 17 years ago
parent 5f2b65048d
commit 732e4ac846

@ -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

Loading…
Cancel
Save