Connections to Xively working; has 5 channels on Xively (axl_x, axl_y, axl_z, heater_status, temperature)
Dependencies: C12832_lcd EthernetInterface LM75B MMA7660 NTPClient libxively mbed-rtos mbed
logo.h@6:d5023e875887, 2014-06-02 (annotated)
- Committer:
- wren301
- Date:
- Mon Jun 02 19:13:07 2014 +0000
- Revision:
- 6:d5023e875887
Actually HW7 :) All connections to Xively operational as of last test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
wren301 | 6:d5023e875887 | 1 | static char xively_logo_data[] = { |
wren301 | 6:d5023e875887 | 2 | 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, |
wren301 | 6:d5023e875887 | 3 | 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, |
wren301 | 6:d5023e875887 | 4 | 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1c, 0x0, |
wren301 | 6:d5023e875887 | 5 | 0x0, 0x0, 0x0, 0xe0, 0x0, 0x0, 0x0, 0x0, |
wren301 | 6:d5023e875887 | 6 | 0x3e, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x0, 0x0, |
wren301 | 6:d5023e875887 | 7 | 0x0, 0x0, 0x3e, 0x0, 0x0, 0x0, 0x0, 0xf0, |
wren301 | 6:d5023e875887 | 8 | 0x0, 0x0, 0x0, 0x0, 0x1c, 0x0, 0x0, 0x0, |
wren301 | 6:d5023e875887 | 9 | 0x0, 0xf0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, |
wren301 | 6:d5023e875887 | 10 | 0x0, 0x0, 0x0, 0xf0, 0x0, 0x0, 0x0, 0x0, |
wren301 | 6:d5023e875887 | 11 | 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x0, 0x0, |
wren301 | 6:d5023e875887 | 12 | 0x10, 0x0, 0x0, 0x0, 0x0, 0xf, 0xc0, 0xf0, |
wren301 | 6:d5023e875887 | 13 | 0x0, 0x0, 0x1e, 0x7, 0x9c, 0xf0, 0x1e, 0x3f, |
wren301 | 6:d5023e875887 | 14 | 0xf0, 0xf7, 0x80, 0x78, 0xf, 0xf, 0x1c, 0xf0, |
wren301 | 6:d5023e875887 | 15 | 0x1e, 0x7f, 0xf8, 0xf7, 0x80, 0xf0, 0x7, 0x9e, |
wren301 | 6:d5023e875887 | 16 | 0x1c, 0xf0, 0x1e, 0xf8, 0x78, 0xf3, 0xc0, 0xf0, |
wren301 | 6:d5023e875887 | 17 | 0x7, 0x9e, 0x1c, 0x78, 0x3c, 0xf0, 0x3c, 0xf3, |
wren301 | 6:d5023e875887 | 18 | 0xc0, 0xe0, 0x3, 0xfc, 0x1c, 0x78, 0x3d, 0xe0, |
wren301 | 6:d5023e875887 | 19 | 0x1c, 0xf3, 0xc1, 0xe0, 0x1, 0xf8, 0x1c, 0x38, |
wren301 | 6:d5023e875887 | 20 | 0x39, 0xe0, 0x1c, 0xf1, 0xe1, 0xe0, 0x1, 0xf8, |
wren301 | 6:d5023e875887 | 21 | 0x1c, 0x3c, 0x79, 0xff, 0xfe, 0xf1, 0xe3, 0xc0, |
wren301 | 6:d5023e875887 | 22 | 0x1, 0xf8, 0x1c, 0x3c, 0x79, 0xff, 0xfe, 0xf0, |
wren301 | 6:d5023e875887 | 23 | 0xe3, 0xc0, 0x1, 0xf8, 0x1c, 0x1e, 0xf1, 0xe0, |
wren301 | 6:d5023e875887 | 24 | 0x0, 0xf0, 0xf3, 0x80, 0x3, 0xfc, 0x1c, 0x1e, |
wren301 | 6:d5023e875887 | 25 | 0xf1, 0xe0, 0x0, 0xf0, 0x77, 0x80, 0x7, 0x9e, |
wren301 | 6:d5023e875887 | 26 | 0x1c, 0xf, 0xe0, 0xf0, 0x0, 0xf0, 0x7f, 0x80, |
wren301 | 6:d5023e875887 | 27 | 0x7, 0x8f, 0x1c, 0xf, 0xe0, 0xf8, 0x10, 0xf0, |
wren301 | 6:d5023e875887 | 28 | 0x7f, 0x0, 0xf, 0xf, 0x1c, 0xf, 0xe0, 0x7f, |
wren301 | 6:d5023e875887 | 29 | 0xf8, 0xf0, 0x3f, 0x0, 0x1e, 0x7, 0x9c, 0x7, |
wren301 | 6:d5023e875887 | 30 | 0xc0, 0x3f, 0xf8, 0xf0, 0x3e, 0x0, 0x3e, 0x3, |
wren301 | 6:d5023e875887 | 31 | 0xdc, 0x7, 0xc0, 0x1f, 0xe0, 0xf0, 0x1e, 0x0, |
wren301 | 6:d5023e875887 | 32 | 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, |
wren301 | 6:d5023e875887 | 33 | 0x1e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, |
wren301 | 6:d5023e875887 | 34 | 0x0, 0x0, 0x3c, 0x0, 0x0, 0x0, 0x0, 0x0, |
wren301 | 6:d5023e875887 | 35 | 0x0, 0x0, 0x0, 0x0, 0x3c, 0x0, 0x0, 0x0, |
wren301 | 6:d5023e875887 | 36 | 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0xf8, 0x0, |
wren301 | 6:d5023e875887 | 37 | 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, |
wren301 | 6:d5023e875887 | 38 | 0xf8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, |
wren301 | 6:d5023e875887 | 39 | 0x0, 0x1, 0xf0, 0x0, 0x0, 0x0, 0x0, 0x0, |
wren301 | 6:d5023e875887 | 40 | 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, |
wren301 | 6:d5023e875887 | 41 | 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 |
wren301 | 6:d5023e875887 | 42 | }; |
wren301 | 6:d5023e875887 | 43 | |
wren301 | 6:d5023e875887 | 44 | inline void lcd_print_xively_logo() { |
wren301 | 6:d5023e875887 | 45 | static Bitmap xively_logo = { 80, 32, 10, xively_logo_data }; |
wren301 | 6:d5023e875887 | 46 | lcd.cls(); |
wren301 | 6:d5023e875887 | 47 | lcd.print_bm(xively_logo, 24, 0); |
wren301 | 6:d5023e875887 | 48 | lcd.copy_to_lcd(); |
wren301 | 6:d5023e875887 | 49 | for(int i = -32; i < 32; i++){ |
wren301 | 6:d5023e875887 | 50 | lcd.cls(); |
wren301 | 6:d5023e875887 | 51 | lcd.print_bm(xively_logo, 24, i); |
wren301 | 6:d5023e875887 | 52 | lcd.copy_to_lcd(); |
wren301 | 6:d5023e875887 | 53 | wait(0.1); |
wren301 | 6:d5023e875887 | 54 | } |
wren301 | 6:d5023e875887 | 55 | } |