Changeset 89

Show
Ignore:
Timestamp:
12/08/07 01:01:35 (13 months ago)
Author:
follower
Message:

Add skeleton of Wiz810MJ class.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/follower/wiz810mj/src/demo/WizDemo4/WizDemo4.pde

    r88 r89  
    9595 
    9696/* ----------------------- */ 
     97 
     98 
     99/* ------ WIZ810MJ ------ */ 
     100 
     101class Wiz810MJ { 
     102   
     103  public: 
     104    Wiz810MJ(int resetPin); 
     105   
     106  private: 
     107    int _resetPin;   
     108}; 
     109 
     110Wiz810MJ::Wiz810MJ(int resetPin) { 
     111  // TODO: We should really allow the chip-select pin to be set here? 
     112  //       Or require that it's defined. (Currently in the library file 'types.h'.) 
     113  _resetPin = resetPin; 
     114} 
     115 
     116/* ----------------------- */ 
     117 
    97118 
    98119// #define PIN_RESET 9 // WIZnet module /RESET