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: main.cpp
- Revision:
- 1:ba08ad32bb88
- Parent:
- 0:869f2c6f960d
- Child:
- 2:46adf929a2ba
--- a/main.cpp Mon Aug 23 10:39:40 2010 +0000
+++ b/main.cpp Mon Aug 23 13:27:15 2010 +0000
@@ -1,8 +1,7 @@
#include "mbed.h"
#include "MAX7456.h"
-MAX7456 vo (p5,p6,p7,p8,p9);
-
+MAX7456 vo (p5,p6,p7,p20,p19);
DigitalOut myled(LED1);
int main() {
@@ -11,8 +10,11 @@
vo.setdarkness();
vo.initaddress();
+vo.htrim();
+vo.vtrim();
+
vo.locate(1,1);
-vo.putc("A");
+vo.putc('A');
//vo.printf("Hello world!");
wait(5.0);
vo.cls();