working python connection, though too much data right now, too slow connection
This commit is contained in:
parent
7fbc7230dc
commit
c1e6c76ca2
3 changed files with 58 additions and 4 deletions
|
@ -67,12 +67,18 @@ void setup() {
|
|||
delay(500);
|
||||
layout(tick);
|
||||
calcMaxTicks();
|
||||
|
||||
while(!Serial);
|
||||
}
|
||||
|
||||
void loop() {
|
||||
// print the string when a newline arrives:
|
||||
// print the string when a newline arrives:
|
||||
if (stringComplete) {
|
||||
setFromSerial( inputString );
|
||||
|
||||
// clear the string:
|
||||
inputString = "";
|
||||
stringComplete = false;
|
||||
}
|
||||
layout(tick++);
|
||||
if ( tick > maxticks ) tick = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue