Hello! I am having problems getting the Linino One Bridge working, is anyone else facing this issue?
--Hi, which kind of issue do you have?
You received this message because you are subscribed to the Google Groups "Linino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linino+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
root@linino:~# uname -a
Linux linino 3.3.8 #1 Sat Aug 30 10:23:06 CEST 2014 mips GNU/Linux
root@linino:~# ps | grep bridge
7176 root 1492 S grep bridge
/usr/bin/run-bridge
#include "Bridge.h"
#define ledPin 13
void setup() {
// put your setup code here, to run once:
pinMode(ledPin, OUTPUT);
digitalWrite(ledPin,HIGH);
delay(1000);
digitalWrite(ledPin,LOW);
delay(1000);
Bridge.begin();
// LED never blinks a second time
digitalWrite(ledPin,HIGH);
delay(1000);
digitalWrite(ledPin,LOW);
}
void loop() {
// put your main code here, to run repeatedly:
Process p;
String command = "cat /root/led.txt";
String pString;
p.runShellCommand(command);
while (p.available()) pString = p.readString();
if(pString == "1") {
digitalWrite(ledPin,HIGH);
} else {
digitalWrite(ledPin,LOW);
}
delay(2000);
}Linux linino 3.3.8 #1 Sat Aug 30 10:23:06 CEST 2014 mips GNU/Linux
2043 root 1492 S grep bridge
#include "Bridge.h"#define ledPin 13
void setup() { // put your setup code here, to run once: pinMode(ledPin, OUTPUT); digitalWrite(ledPin,HIGH); delay(1000); digitalWrite(ledPin,LOW); delay(1000); Bridge.begin(); // This never gets called digitalWrite(ledPin,HIGH); delay(1000); digitalWrite(ledPin,LOW); }
void loop() { // put your main code here, to run repeatedly: Process p; String command = "cat /root/led.txt"; String pString; p.runShellCommand(command); while (p.available()) pString = p.readString(); if(pString == "1") { digitalWrite(ledPin,HIGH); } else { digitalWrite(ledPin,LOW); } delay(2000);}--
You received this message because you are subscribed to the Google Groups "Linino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linino+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.