New poly modes, processing improvements
This commit is contained in:
parent
c09177c0ee
commit
4211a85562
9 changed files with 258 additions and 162 deletions
|
|
@ -5,7 +5,7 @@ uint16_t oldKeys = 0;
|
|||
uint16_t oldUtil = 0;
|
||||
bool plotCap = false;
|
||||
|
||||
void handleTestMode() {
|
||||
void handleTestMode(state_t &state) {
|
||||
uint8_t buttons = buttonState();
|
||||
if (buttons != oldButtons) {
|
||||
oldButtons = buttons;
|
||||
|
|
@ -41,6 +41,10 @@ void handleTestMode() {
|
|||
plotCap = !plotCap;
|
||||
}
|
||||
|
||||
if (buttons == 0x08) {
|
||||
state.instrument->mode = MODE_NORMAL;
|
||||
}
|
||||
|
||||
if (plotCap) {
|
||||
for (int i = 0; i < 12; i++) {
|
||||
Serial.print(">key");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue