Page 1 of 1

Arduino Due & Geeetech Iduino Yun Shield: problem starting bridge

Posted: Tue Oct 03, 2017 5:32 pm
by hrd
Hello,

I successfully used your Iduino Yun Shield with an Arduino Mega2560. Now I'm going to use it with a Arduino Due (of course jumper changed to 3.3V on shield) and trying to start the bridge which hangs forever (no "done" as used in following code is coming in monitor only "Starting bridge..."):

[code]
#include <Bridge.h>

void setup() {
SerialUSB.begin(9600);
while (!SerialUSB);
SerialUSB.print("Starting bridge...");
Bridge.begin();
SerialUSB.println("done!");
}

void loop() {
// put your main code here, to run repeatedly:

}
[/code]

I'm not sure what to configure in Luci under Sensors as Arduino Board Type because there is no listing with Arduino Due. Using "Arduino Bridge" as Operation Mode there.

Thanks & Regards
hrd

Re: Arduino Due & Geeetech Iduino Yun Shield: problem starting bridge

Posted: Thu Oct 05, 2017 11:17 am
by William
Maybe you should include the boards.h?
I think you'd better learn the firmware of Arduino IDE examples.
And You can refer to the Arduino Yun shield. It is same with the Iduino Yun.