Hello,
First time posting here.
A little background on the setup. I have an Arduino Yun set on top of a Due. the Power to the Due is via a 9V adapter into the barrel jack. I also have a USB connected to the Due. I am in a windows 8.1 environment. The Yun is connected to my home wifi.
I have attached the screenshot of the output showing on the serial monitor. Essentially it is garbage being sent to the serial monitor. I have read that this may be an issue with the grounding between the Yun and the Due however I was under the assumption that the boards are grounded since they share a common ground when the Yun sits on top of the Due.
I have watched this video many times however I am still not sure why it is not working.
Here is the sample script I am using, it is the same one that is provided in the examples section.
#include <Process.h>
#include <Bridge.h>
void setup() {
checkForRemoteSketchUpdate();
Serial.begin(9600); // initialize serial communication
while (!Serial); // do nothing until the serial monitor is opened
Serial.println("Starting bridge...\n");
pinMode(13, OUTPUT);
digitalWrite(13, LOW);
Bridge.begin(); // make contact with the linux processor
digitalWrite(13, HIGH); // Led on pin 13 turns on when the bridge is ready
delay(2000); // wait 2 seconds
}
void loop() {
Process wifiCheck; // initialize a new process
wifiCheck.runShellCommand("/usr/bin/pretty-wifi-info.lua"); // command you want to run
// while there's any characters coming back from the
// process, print them to the serial monitor:
while (wifiCheck.available() > 0) {
char c = wifiCheck.read();
Serial.print(c);
}
SerialUSB.println();
delay(5000);
}
Please help and thank you in advance.
wifistatus output.pdf (1.07 MB)