|
|
@ -88,11 +88,12 @@ void configureSPI() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void setup () {
|
|
|
|
void initModule() {
|
|
|
|
Serial.begin(9600);
|
|
|
|
/*
|
|
|
|
Serial.println("Setup enter...");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
configureSPI();
|
|
|
|
Initialise the WIZ810MJ module and driver.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
// I thought this wasn't needed but seems like it is.
|
|
|
|
// I thought this wasn't needed but seems like it is.
|
|
|
|
Serial.println("Triggering reset...");
|
|
|
|
Serial.println("Triggering reset...");
|
|
|
@ -115,6 +116,15 @@ void setup () {
|
|
|
|
Serial.println("Call sysinit...");
|
|
|
|
Serial.println("Call sysinit...");
|
|
|
|
sysinit(0x55, 0x55);
|
|
|
|
sysinit(0x55, 0x55);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void setup () {
|
|
|
|
|
|
|
|
Serial.begin(9600);
|
|
|
|
|
|
|
|
Serial.println("Setup enter...");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
configureSPI();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
initModule();
|
|
|
|
|
|
|
|
|
|
|
|
Serial.println("Test W5100 configuration...");
|
|
|
|
Serial.println("Test W5100 configuration...");
|
|
|
|
|
|
|
|
|
|
|
|