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.
Dependencies: SNICInterface mbed-rtos mbed
Fork of murataDemo by
Diff: logo.h
- Revision:
- 28:174412ff9671
- Parent:
- 27:6949291ca38d
- Child:
- 29:9f08c7152c7a
diff -r 6949291ca38d -r 174412ff9671 logo.h
--- a/logo.h Tue Nov 25 00:33:30 2014 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-static char xively_logo_data[] = {
- 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
- 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
- 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1c, 0x0,
- 0x0, 0x0, 0x0, 0xe0, 0x0, 0x0, 0x0, 0x0,
- 0x3e, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x0, 0x0,
- 0x0, 0x0, 0x3e, 0x0, 0x0, 0x0, 0x0, 0xf0,
- 0x0, 0x0, 0x0, 0x0, 0x1c, 0x0, 0x0, 0x0,
- 0x0, 0xf0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
- 0x0, 0x0, 0x0, 0xf0, 0x0, 0x0, 0x0, 0x0,
- 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x0, 0x0,
- 0x10, 0x0, 0x0, 0x0, 0x0, 0xf, 0xc0, 0xf0,
- 0x0, 0x0, 0x1e, 0x7, 0x9c, 0xf0, 0x1e, 0x3f,
- 0xf0, 0xf7, 0x80, 0x78, 0xf, 0xf, 0x1c, 0xf0,
- 0x1e, 0x7f, 0xf8, 0xf7, 0x80, 0xf0, 0x7, 0x9e,
- 0x1c, 0xf0, 0x1e, 0xf8, 0x78, 0xf3, 0xc0, 0xf0,
- 0x7, 0x9e, 0x1c, 0x78, 0x3c, 0xf0, 0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0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
- 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
-};
-
-inline void lcd_print_xively_logo() {
- static Bitmap xively_logo = { 80, 32, 10, xively_logo_data };
- lcd.cls();
- lcd.print_bm(xively_logo, 24, 0);
- lcd.copy_to_lcd();
- for(int i = -32; i < 32; i++){
- lcd.cls();
- lcd.print_bm(xively_logo, 24, i);
- lcd.copy_to_lcd();
- wait(0.01);
- }
-}
\ No newline at end of file
