Console.print really slow
hi,
i'll explain project , problem: i'm seeding data sensor console, take console using putty ('telnet localhost 6571) , store data on .log file. plot them matplotlib on python.
just simple code understand problem:
#include <bridge.h>
int pin = 1;
int value;
void setup() {
bridge.begin();
console.begin();
}
void loop() {
value = analogread(pin);
console.println(value);
}
problem console.print slow, on 5 secondsacquisition i've got ~350/380 samples, mean 60 samples 1 second .print. slow sensor it's not problem, application it's not deal.
do have tips increase speed of console.print?
sam'
i'll explain project , problem: i'm seeding data sensor console, take console using putty ('telnet localhost 6571) , store data on .log file. plot them matplotlib on python.
just simple code understand problem:
#include <bridge.h>
int pin = 1;
int value;
void setup() {
bridge.begin();
console.begin();
}
void loop() {
value = analogread(pin);
console.println(value);
}
problem console.print slow, on 5 secondsacquisition i've got ~350/380 samples, mean 60 samples 1 second .print. slow sensor it's not problem, application it's not deal.
do have tips increase speed of console.print?
sam'
60 samples/sec normal speed bridge. count tomorrow 100gb become popular network interface, not slow, deadly slow.
100gb with sample length 8 bits = 107,374,182,400 samples/sec
don't me wrong, love bridge implementation , software team did wonderful job, high speed samples need different horse.
100gb with sample length 8 bits = 107,374,182,400 samples/sec
don't me wrong, love bridge implementation , software team did wonderful job, high speed samples need different horse.
Arduino Forum > Products > Arduino Yún (Moderator: fabioc84) > Console.print really slow
arduino
Comments
Post a Comment