|
|
@ -19,7 +19,7 @@ void setup(){ |
|
|
|
|
|
|
|
screen.createMenu(128, 13); //Menu 0
|
|
|
|
|
|
|
|
screen.createCGraph("Test", 30, 50, 75, 30, 0, 100, 0, 1000, 25, 250, 0); //Graph 0
|
|
|
|
screen.createCGraph("Test", 30, 50, 75, 30, 0, 100, 0, 25, 250, 0, &samples); //Graph 0
|
|
|
|
|
|
|
|
screen.createModifier("Multiplier", &multiplier, 5, 1, 1); //Modifier 0
|
|
|
|
screen.createModifier("Samples number", &samples, 1000, 500, 10); //Modifier 1
|
|
|
@ -50,8 +50,8 @@ void loop(){ |
|
|
|
} |
|
|
|
|
|
|
|
while(screen.getCurrentScreen() == 0 && screen.getContentType() == 1){ |
|
|
|
screen.control(); //Controls the screen and redraws if needed while not in the test's graph
|
|
|
|
screen.control(); //Controls the screen and redraws if needed while in the test's graph
|
|
|
|
keyboard.control(); |
|
|
|
delay(REFRESH); |
|
|
|
} |
|
|
|
} |
|
|
|
} |