A scripting environment used to define precise output/input temporal relationships.
Dependencies: SMARTWAV mbed HelloWorld
Dependents: perturbRoom_legacy
Fork of HelloWorld by
Diff: main.cpp
- Revision:
- 3:ae33b7f5a7c1
- Parent:
- 2:298679fff37c
- Child:
- 4:34aca2142df9
--- a/main.cpp Tue Jul 08 21:51:16 2014 +0000 +++ b/main.cpp Sat Jul 19 03:03:36 2014 +0000 @@ -394,7 +394,8 @@ } else { //pc.putc(buffer[bufferPos-1]); //Backspace was pressed - if ((buffer[bufferPos-1] == 8) && (bufferPos > 0)) { + if (((buffer[bufferPos-1] == 127)||(buffer[bufferPos-1] == 8)) && (bufferPos > 0)) { + bufferPos = bufferPos-2; } }