Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: lab2_a.cpp
- Revision:
- 4:2b6eb949a923
- Parent:
- 3:17447b9b1c18
- Child:
- 5:5cdf88fb4887
--- a/lab2_a.cpp Sun Aug 23 17:13:14 2020 +0000
+++ b/lab2_a.cpp Sun Aug 23 17:17:43 2020 +0000
@@ -8,11 +8,11 @@
screen, and change screen foreground and background
colours.
*/
-#include "mbed.h"
+//#include "mbed.h"
int main(void)
{
- unsigned char input; // variable to get char from keyboard
+ //unsigned char input; // variable to get char from keyboard
for(;;) {
input=getc(stdin); // get char and put into variable input