You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that running the sample sketch in the Arduino Yun guide in the "The Console" paragraph, the intel cpu is hogged by the bridge python script running at 95%.
A simple fix would be to add a small delay in the sketch:
void loop() {
// see if there's incoming serial data:
if (Console.available() > 0) {
// read the oldest byte in the serial buffer:
incomingByte = Console.read();
// if it's a capital H (ASCII 72), turn on the LED:
if (incomingByte == 'H') {
digitalWrite(ledPin, HIGH);
}
// if it's an L (ASCII 76) turn off the LED:
if (incomingByte == 'L') {
digitalWrite(ledPin, LOW);
}
}
delay(100);
}
The text was updated successfully, but these errors were encountered:
I noticed that running the sample sketch in the Arduino Yun guide in the "The Console" paragraph, the intel cpu is hogged by the bridge python script running at 95%.
A simple fix would be to add a small delay in the sketch:
The text was updated successfully, but these errors were encountered: