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: BasicWeb.cpp
- Revision:
- 1:41f0491dcc4c
- Parent:
- 0:7fac52628f4e
- Child:
- 2:ff57d9a43c7d
--- a/BasicWeb.cpp Wed Mar 06 16:13:02 2013 +0000
+++ b/BasicWeb.cpp Wed Mar 06 16:18:05 2013 +0000
@@ -25,7 +25,6 @@
}
void BasicWeb::browser(){
- led = 1;
// draw browser
vga.background_color(WHITE);
vga.rectangle(0, 0, 640, 38, 0xBBBBBB);
@@ -37,7 +36,6 @@
eth.connect();
vga.text_string("IP address is:", 50, 1, 1, 0x000000);
vga.text_string(eth.getIPAddress(), 65, 1, 1, 0x000000);
- led2 = 1;
}
void BasicWeb::displayUrl(){
@@ -80,7 +78,6 @@
void BasicWeb::modKey(char scancode1, char scancode2){
if(scancode1 == 0xE0){
if(scancode2 == 0x72 || scancode2 == 0x74){ // up and right arrow
- led3 = 1;
vga.rectangle(0, 39, 640, 480, 0xFFFFFF); // clear page
lineIndex = 40;
displayPage();