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.
Revision 0:8b0b6c9343c2, committed 2010-08-10
- Comitter:
- simon
- Date:
- Tue Aug 10 07:26:05 2010 +0000
- Commit message:
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
diff -r 000000000000 -r 8b0b6c9343c2 main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Tue Aug 10 07:26:05 2010 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"
+
+extern "C" void mbed_mac_address(char *mac);
+
+int main() {
+ char mac[6];
+ mbed_mac_address(mac);
+ for(int i=0; i<6;i++) {
+ printf("%02X ", mac[i]);
+ }
+ printf("\n");
+}
diff -r 000000000000 -r 8b0b6c9343c2 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Tue Aug 10 07:26:05 2010 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/9114680c05da