> > MSSP2 will require a separate SPI library, or a constant in the > > current lib to choose between 1 and 2. > > OK. I guess this is the same for serial hardware with RX1/TX2 and RX2/TX2. > Preprocessor to the rescue ?
Someday we all need to decide on either using the same library twice, or create a 2nd library. A preprocessor doesn't seem like the right solution. Again, pointers would be nice. Maybe you can ask William if you can add a optional constant for choosing what SPI port to use (after you test with ENC28J60 of course). Matt. -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
