Based on Terminal lib from Simon Ford, some adds
Fork of TerminalPlus by
Diff: Terminal.cpp
- Revision:
- 10:60b9f0462d03
- Parent:
- 9:82803dacf475
- Child:
- 11:38e8a2260621
--- a/Terminal.cpp Wed Sep 23 23:57:08 2015 +0000 +++ b/Terminal.cpp Sat Sep 26 01:01:44 2015 +0000 @@ -198,7 +198,7 @@ B_BR =188; break; } - + //riga superiore formatPrintf(createStr(B_TL) ,x,y); formatPrintf(string2char(padstr("\n",78,char(B_H))),x+1,y); @@ -223,28 +223,29 @@ frame(0, 0, 79, 22,1); forgcol(3); bold(); - formatPrintf("_____ Boot screen _____\n",27,1); + formatPrintf("_____ Glass Project Console _____\n",22,1); formatPrintf("___ Nucleo Scorda IO Terminal ___\n",22,2); resetattrib(); forgcol(7); - - //foreground(0xFfFfFf); +//3-4 formatPrintf(string2char(padstr("\n",78,char(196))),1,3,1); //top 1/2 - formatPrintf("Funzione \n",2,4); - formatPrintf("Numero \n",32,4); - formatPrintf("Parametro \n",51,4); -//3-4 - formatPrintf("Status Led 1...... \n",2,6); - formatPrintf("Status Virtual Led \n",42,6); + formatPrintf("Funzione \n",2,4); //p01 + formatPrintf("Numero \n",32,4); //p02 + formatPrintf("Parametro \n",51,4); //p03 //5-6 - formatPrintf("Other Commands.... \n",2,8); - formatPrintf("Real Serial(rso/f) \n",42,8); + formatPrintf("Pattern 1......... \n",2,6); //p11 + formatPrintf("Pattern 2......... \n",42,6); //p12 //7-8 - formatPrintf("Input string...... \n",2,10); - formatPrintf("Result............ \n",42,10); + formatPrintf("Pattern 3......... \n",2,8); //p21 + formatPrintf("Random Activate... \n",42,8); //p22 //9-10 + formatPrintf("Real Serial(rso/f) \n",2,10); //p31 //11-12 +//13-14 + formatPrintf("Input string...... \n",2,14); //p51 + formatPrintf("Command Type...... \n",42,14); //p52 +//15-16 formatPrintf(string2char(padstr("\n",78,char(196))),1,15,1); //bottom pot formatPrintf(string2char(padstr("\n",78,char(196))),1,20); //azzo funziona... @@ -257,8 +258,8 @@ formatPrintf(string2char(padstr("\n",78,char(196))),1,9); //top 7/8 formatPrintf(string2char(padstr("\n",78,char(196))),1,11); //top 9/10 formatPrintf(string2char(padstr("\n",78,char(196))),1,13); //top 11/12 - - foreground(0xFfFfFF); + + foreground(0xFfFfFF); // bold(); }