Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for issue #56 #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion build/shared/examples/10.MultiTasking/Monitor/Monitor.ino
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ void mon_setup(void)
{
Serial.begin(9600);
Serial.println("Welcome! This is the Serial debug console.");
Serial.println("Type help for list of commands");
}

#define UP_ARROW 0x0b /* ctrl K */
Expand All @@ -152,6 +153,7 @@ void mon_loop()
int escape_index = 0;

while (true) {
if (!Serial.available()) continue;
char c = Serial.read();

if (escape_index) {
Expand Down Expand Up @@ -861,4 +863,4 @@ static int consoleHandler_pri(const char *line)
}

#endif /* PRI_CMD */