Skip to content
This repository was archived by the owner on Dec 21, 2019. It is now read-only.
This repository was archived by the owner on Dec 21, 2019. It is now read-only.

SPI block event #2

@DrKsantor

Description

@DrKsantor

In original code

It solved by adding this code:

//actual for Wiz5100 shield
byte chipSelectSD(4);
byte chipSelectEth(10);

...

void setup {
pinMode(chipSelectSD, OUTPUT);
pinmode(chipSelectEth( ,OUTPUT);
...

}
void selectSD() {
  digitalWrite(ChipSelectEth, HIGH);
}
void selectEth() {
  digitalWrite(ChipSelectSD, HIGH);
}

and inserting selectSD(), selectEth() macro anywhere in code before needed SPI device.

This will be included to pull request that should solve all problem that I found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions