Rafael Ortriz / Mbed 2 deprecated ht1632_matrix

Dependencies:   EthernetNetIf mbed

Files at this revision

API Documentation at this revision

Comitter:
rafacherin
Date:
Wed Sep 28 07:59:14 2011 +0000
Commit message:

Changed in this revision

EthernetNetIf.lib Show annotated file Show diff for this revision Revisions of this file
HTTPClient.lib Show annotated file Show diff for this revision Revisions of this file
font3.h Show annotated file Show diff for this revision Revisions of this file
ht1632.h Show annotated file Show diff for this revision Revisions of this file
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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/EthernetNetIf.lib	Wed Sep 28 07:59:14 2011 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/donatien/code/EthernetNetIf/#bc7df6da7589
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/HTTPClient.lib	Wed Sep 28 07:59:14 2011 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/donatien/code/HTTPClient/#d0be6af2d1db
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/font3.h	Wed Sep 28 07:59:14 2011 +0000
@@ -0,0 +1,1073 @@
+/***********************************************************************
+ * font3.h - 8x8 fonts defined for ascii characters with codes > 32;
+ * Copyright by FlorinC;
+ *   Copyrighted and distributed under the terms of the Berkely license
+ *   (copy freely, but include this notice of original author.)
+ ***********************************************************************/
+
+// define all ascii characters starting with 32 (blank);
+unsigned char myfont[96][8] = {
+  {
+    0x00,    // ________   blank (ascii 32)
+    0x00,    // ________
+    0x00,    // ________
+    0x00,    // ________
+    0x00,    // ________
+    0x00,    // ________
+    0x00,    // ________
+    0x00     // ________
+  },
+  {
+    0x00,    // ________  !
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x00,    // ________
+    0x08,    // ____X___
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  "
+    0x36,    // __XX_XX_
+    0x12,    // ___X__X_
+    0x24,    // __X__X_
+    0x00,    // ________
+    0x00,    // ________
+    0x00,    // ________
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  #
+    0x00,    // ________
+    0x14,    // ___X_X__
+    0x3E,    // __XXXXX_
+    0x14,    // ___X_X__
+    0x3E,    // __XXXXX_
+    0x14,    // ___X_X__
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  $
+    0x08,    // ____X___
+    0x1E,    // ___XXXX_
+    0x28,    // __X_X___
+    0x1C,    // ___XXX__
+    0x0A,    // ____X_X_
+    0x3C,    // __XXXX__
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  %
+    0x00,    // ________
+    0x32,    // __XX__X_
+    0x34,    // __XX_X__
+    0x08,    // ____X___
+    0x16,    // ___X_XX_
+    0x26,    // __X__XX_
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  &
+    0x00,    // ________
+    0x18,    // ___XX___
+    0x24,    // __X__X__
+    0x18,    // ___XX___
+    0x26,    // __X__XX_
+    0x1E,    // ___XXXX_
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  '
+    0x18,    // ___XX___
+    0x18,    // ___XX___
+    0x10,    // ___X____
+    0x00,    // ________
+    0x00,    // ________
+    0x00,    // ________
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  (
+    0x08,    // ____X___
+    0x10,    // ___X____
+    0x10,    // ___X____
+    0x10,    // ___X____
+    0x10,    // ___X____
+    0x08,    // ____X___
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  )
+    0x10,    // ___X____
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x10,    // ___X____
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  *
+    0x00,    // ________
+    0x08,    // ____X___
+    0x2A,    // __X_X_X_
+    0x08,    // ____X___
+    0x2A,    // __X_X_X_
+    0x08,    // ____X___
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  +
+    0x00,    // ________
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x3E,    // __XXXXX_
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  ,
+    0x00,    // ________
+    0x00,    // ________
+    0x00,    // ________
+    0x00,    // ________
+    0x18,    // ___XX___
+    0x08,    // ____X___
+    0x10,    // ___X____
+  },
+  {
+    0x00,    // ________  -
+    0x00,    // ________
+    0x00,    // ________
+    0x00,    // ________
+    0x3E,    // __XXXXX_
+    0x00,    // ________
+    0x00,    // ________
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  .
+    0x00,    // ________
+    0x00,    // ________
+    0x00,    // ________
+    0x00,    // ________
+    0x0C,    // ____XX__
+    0x0C,    // ____XX__
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  /
+    0x00,    // ________
+    0x02,    // ______X_
+    0x04,    // _____X__
+    0x08,    // ____X___
+    0x10,    // ___X____
+    0x20,    // __X_____
+    0x00,    // ________
+  },
+#ifdef _16x24_
+  {
+    0x00,    // ________  0
+    0x0C,    // ____XX__
+    0x12,    // ___X__X_
+    0x12,    // ___X__X_
+    0x12,    // ___X__X_
+    0x12,    // ___X__X_
+    0x0C,    // ____XX__
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  1
+    0x04,    // _____X__
+    0x0C,    // ____XX__
+    0x14,    // ___X_X__
+    0x04,    // _____X__
+    0x04,    // _____X__
+    0x0E,    // ____XXX_
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  2
+    0x0C,    // ____XX__
+    0x12,    // ___X__X_
+    0x04,    // _____X__
+    0x08,    // ____X___
+    0x10,    // ___X____
+    0x1E,    // ___XXXX_
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  3
+    0x1E,    // ___XXXX_
+    0x02,    // ______X_
+    0x0C,    // ____XX__
+    0x02,    // ______X_
+    0x12,    // ___X__X_
+    0x0C,    // ____XX__
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  4
+    0x12,    // ___X__X_
+    0x12,    // ___X__X_
+    0x1E,    // ___XXXX_
+    0x02,    // ______X_
+    0x02,    // ______X_
+    0x02,    // ______X_
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  5
+    0x1E,    // ___XXXX_
+    0x10,    // ___X____
+    0x1C,    // ___XXX__
+    0x02,    // ______X_
+    0x12,    // ___X__X_
+    0x0C,    // ____XX__
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  6
+    0x0C,    // ____XX__
+    0x10,    // ___X____
+    0x1C,    // ___XXX__
+    0x12,    // ___X__X_
+    0x12,    // ___X__X_
+    0x0C,    // ____XX__
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  7
+    0x1E,    // ___XXXX_
+    0x02,    // ______X_
+    0x04,    // _____X__
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  8
+    0x0C,    // ____XX__
+    0x12,    // ___X__X_
+    0x0C,    // ____XX__
+    0x12,    // ___X__X_
+    0x12,    // ___X__X_
+    0x0C,    // ____XX__
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  9
+    0x0C,    // ____XX__
+    0x12,    // ___X__X_
+    0x0E,    // ____XXX_
+    0x02,    // ______X_
+    0x12,    // ___X__X_
+    0x0C,    // ____XX__
+    0x00,    // ________
+  },
+#else  // 8x32
+  {
+    0x00,    // ________  0
+    0x1C,    // ___XXX__
+    0x26,    // __X__XX_
+    0x26,    // __X__XX_
+    0x26,    // __X__XX_
+    0x26,    // __X__XX_
+    0x1C,    // ___XXX__
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  1
+    0x0C,    // ____XX__
+    0x1C,    // ___XXX__
+    0x2C,    // __X_XX__
+    0x0C,    // ____XX__
+    0x0C,    // ____XX__
+    0x1E,    // ___XXXX_
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  2
+    0x1C,    // ___XXX__
+    0x26,    // __X__XX_
+    0x0C,    // ____XX__
+    0x18,    // ___XX___
+    0x30,    // __XX____
+    0x3E,    // __XXXXX_
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  3
+    0x3E,    // __XXXXX_
+    0x06,    // _____XX_
+    0x1C,    // ___XXX__
+    0x06,    // _____XX_
+    0x26,    // __X__XX_
+    0x1C,    // ___XXX__
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  4
+    0x26,    // __X__XX_
+    0x26,    // __X__XX_
+    0x3E,    // __XXXXX_
+    0x06,    // _____XX_
+    0x06,    // _____XX_
+    0x06,    // _____XX_
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  5
+    0x3E,    // __XXXXX_
+    0x30,    // __XX____
+    0x3C,    // __XXXX__
+    0x06,    // _____XX_
+    0x26,    // __X__XX_
+    0x1C,    // ___XXX__
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  6
+    0x1C,    // ___XXX__
+    0x20,    // __X_____
+    0x3C,    // __XXXX__
+    0x26,    // __X__XX_
+    0x26,    // __X__XX_
+    0x1C,    // ___XXX__
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  7
+    0x3E,    // __XXXXX_
+    0x06,    // _____XX_
+    0x0C,    // ____XX__
+    0x18,    // ___XX___
+    0x18,    // ___XX___
+    0x18,    // ___XX___
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  8
+    0x1C,    // ___XXX__
+    0x26,    // __X__XX_
+    0x1C,    // ___XXX__
+    0x26,    // __X__XX_
+    0x26,    // __X__XX_
+    0x1C,    // ___XXX__
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  9
+    0x1C,    // ___XXX__
+    0x26,    // __X__XX_
+    0x1E,    // ___XXXX_
+    0x06,    // _____XX_
+    0x26,    // __X__XX_
+    0x1C,    // ___XXX__
+    0x00,    // ________
+  },
+#endif
+  {
+    0x00,    // ________  :
+    0x00,    // ________
+    0x0C,    // ____XX__
+    0x0C,    // ____XX__
+    0x00,    // ________
+    0x0C,    // ____XX__
+    0x0C,    // ____XX__
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  ;
+    0x00,    // ________
+    0x0C,    // ____XX__
+    0x0C,    // ____XX__
+    0x00,    // ________
+    0x0C,    // ____XX__
+    0x10,    // ___X____
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  <
+    0x00,    // ________
+    0x04,    // _____X__
+    0x08,    // ____X___
+    0x10,    // ___X____
+    0x08,    // ____X___
+    0x04,    // _____X__
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  =
+    0x00,    // ________
+    0x00,    // ________
+    0x3E,    // __XXXXX_
+    0x00,    // ________
+    0x3E,    // __XXXXX_
+    0x00,    // ________
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  >
+    0x00,    // ________
+    0x10,    // ___X____
+    0x08,    // ____X___
+    0x04,    // _____X__
+    0x08,    // ____X___
+    0x10,    // ___X____
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  ?
+    0x1C,    // ___XXX__
+    0x22,    // __X___X_
+    0x04,    // _____X__
+    0x08,    // ____X___
+    0x00,    // ________
+    0x08,    // ____X___
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  @
+    0x1C,    // ___XXX__
+    0x26,    // __X__XX_
+    0x2A,    // __X_X_X_
+    0x2E,    // __X_XXX_
+    0x20,    // __X_____
+    0x1E,    // ___XXXX_
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________   A
+    0x1C,    // ___XXX__
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x3E,    // __XXXXX_
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   B
+    0x3C,    // __XXXX__
+    0x22,    // __X___X_
+    0x3C,    // __XXXX__
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x3C,    // __XXXX__
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   C
+    0x1C,    // ___XXX__
+    0x22,    // __X___X_
+    0x20,    // __X_____
+    0x20,    // __X_____
+    0x22,    // __X___X_
+    0x1C,    // ___XXX__
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   D
+    0x3C,    // __XXXX__
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x3C,    // __XXXX__
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   E
+    0x3E,    // __XXXXX_
+    0x20,    // __X_____
+    0x3C,    // __XXXX__
+    0x20,    // __X_____
+    0x20,    // __X_____
+    0x3E,    // __XXXXX_
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   F
+    0x3E,    // __XXXXX_
+    0x20,    // __X_____
+    0x3C,    // __XXXX__
+    0x20,    // __X_____
+    0x20,    // __X_____
+    0x20,    // __X_____
+    0x00     // ________
+  },
+  {
+    0x00,    // ________  G
+    0x1C,    // ___XXX__
+    0x20,    // __X_____
+    0x20,    // __X_____
+    0x26,    // __X__XX_
+    0x22,    // __X___X_
+    0x1E,    // ___XXXX_
+    0x00     // ________
+  },
+  {
+    0x00,    // ________  H
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x3E,    // __XXXXX_
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x00     // ________
+  },
+  {
+    0x00,    // ________  I
+    0x1C,    // ___XXX__
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x1C,    // ___XXX__
+    0x00     // ________
+  },
+  {
+    0x00,    // ________  J
+    0x3E,    // __XXXXX_
+    0x02,    // ______X_
+    0x02,    // ______X_
+    0x02,    // ______X_
+    0x22,    // __X___X_
+    0x1C,    // ___XXX__
+    0x00     // ________
+  },
+  {
+    0x00,    // ________  K
+    0x22,    // __X___X_
+    0x24,    // __X__X__
+    0x38,    // __XXX___
+    0x38,    // __XXX___
+    0x24,    // __X__X__
+    0x22,    // __X___X_
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  L
+    0x20,    // __X_____
+    0x20,    // __X_____
+    0x20,    // __X_____
+    0x20,    // __X_____
+    0x20,    // __X_____
+    0x3E,    // __XXXXX_
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  M
+    0x22,    // __X___X_
+    0x36,    // __XX_XX_
+    0x2A,    // __X_X_X_
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  N
+    0x22,    // __X___X_
+    0x32,    // __XX__X_
+    0x2A,    // __X_X_X_
+    0x26,    // __X__XX_
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  O
+    0x1C,    // ___XXX__
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x1C,    // ___XXX__
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  P
+    0x3C,    // __XXXX__
+    0x22,    // __X___X_
+    0x3C,    // __XXXX__
+    0x20,    // __X_____
+    0x20,    // __X_____
+    0x20,    // __X_____
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  Q
+    0x18,    // ___XX___
+    0x24,    // __X__X__
+    0x24,    // __X__X__
+    0x24,    // __X__X__
+    0x2C,    // __X_XX__
+    0x1A,    // ___XX_X_
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  R
+    0x3C,    // __XXXX__
+    0x22,    // __X___X_
+    0x3C,    // __XXXX__
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  S
+    0x1E,    // ___XXXX_
+    0x20,    // __X_____
+    0x1C,    // ___XXX__
+    0x02,    // ______X_
+    0x22,    // __X___X_
+    0x1C,    // ___XXX__
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  T
+    0x3E,    // __XXXXX_
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  U
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x32,    // __X___X_
+    0x42,    // __X___X_
+    0x52,    // __X___X_
+    0x1C,    // ___XXX__
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  V
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x14,    // ___X_X__
+    0x14,    // ___X_X__
+    0x08,    // ____X___
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  W
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x2A,    // __X_X_X_
+    0x2A,    // __X_X_X_
+    0x14,    // ___X_X__
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________ X
+    0x22,    // __X___X_
+    0x14,    // ___X_X__
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x14,    // ___X_X__
+    0x22,    // __X___X_
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  Y
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x14,    // ___X_X__
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  Z
+    0x3E,    // __XXXXX_
+    0x04,    // _____X__
+    0x08,    // ____X___
+    0x10,    // ___X____
+    0x20,    // __X_____
+    0x3E,    // __XXXXX_
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  :
+    0x1C,    // ___XXX__
+    0x10,    // ___X____
+    0x10,    // ___X____
+    0x10,    // ___X____
+    0x10,    // ___X____
+    0x1C,    // ___XXX__
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  \
+    0x00,    // ________
+    0x20,    // __X_____
+    0x10,    // ___X____
+    0x08,    // ____X___
+    0x04,    // _____X__
+    0x02,    // ______X_
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  ]
+    0x1C,    // ___XXX__
+    0x04,    // _____X__
+    0x04,    // _____X__
+    0x04,    // _____X__
+    0x04,    // _____X__
+    0x1C,    // ___XXX__
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  ^
+    0x08,    // ____X___
+    0x14,    // ___X_X__
+    0x22,    // __X___X_
+    0x00,    // ________
+    0x00,    // ________
+    0x00,    // ________
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  _
+    0x08,    // ________
+    0x14,    // ________
+    0x22,    // ________
+    0x00,    // ________
+    0x00,    // ________
+    0x3E,    // __XXXXX_
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________  `
+    0x08,    // ____X___
+    0x04,    // _____X__
+    0x00,    // ________
+    0x00,    // ________
+    0x00,    // ________
+    0x00,    // ________
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________   a
+    0x00,    // ________
+    0x1C,    // ___XXX__
+    0x02,    // ______X_
+    0x1E,    // ___XXXX_
+    0x22,    // __X___X_
+    0x3E,    // ___XXXX_
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   b
+    0x20,    // __X_____
+    0x20,    // __X_____
+    0x3C,    // __XXXX__
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x3C,    // __XXXX__
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   c
+    0x00,    // ________
+    0x1C,    // ___XXXX_
+    0x20,    // __X_____
+    0x20,    // __X_____
+    0x20,    // __X_____
+    0x1C,    // ___XXXX_
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   d
+    0x02,    // ______X_
+    0x02,    // ______X_
+    0x1E,    // ___XXXX_
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x1E,    // ___XXXX_
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   e
+    0x00,    // ________
+    0x1C,    // ___XXX__
+    0x22,    // __X___X_
+    0x3E,    // __XXXXX_
+    0x20,    // __X_____
+    0x1C,    // ___XXX__
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   f
+    0x0E,    // ____XXX_
+    0x10,    // ___X____
+    0x10,    // ___X____
+    0x3C,    // __XXXX__
+    0x10,    // ___X____
+    0x10,    // ___X____
+    0x00,    // ________
+  },
+  {
+    0x00,    // ________   g
+    0x00,    // ________
+    0x1E,    // ___XXXX_
+    0x22,    // __X___X_
+    0x3E,    // __XXXXX_
+    0x02,    // ______X_
+    0x02,    // ______X_
+    0x1C     // ___XXX__
+  },
+  {
+    0x00,    // ________   h
+    0x20,    // __X_____
+    0x20,    // __X_____
+    0x3C,    // __XXXX__
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   i
+    0x08,    // ____X___
+    0x00,    // ________
+    0x18,    // ___XX___
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x1C,    // ___XXX__
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   j
+    0x08,    // ____X___
+    0x00,    // ________
+    0x1E,    // ___XXXX_
+    0x02,    // ______X_
+    0x02,    // ______X_
+    0x22,    // __X___X_
+    0x1C     // ___XXX__
+  },
+  {
+    0x00,    // ________   k
+    0x20,    // __X_____
+    0x20,    // __X_____
+    0x24,    // __X__X__
+    0x38,    // __XXX___
+    0x24,    // __X__X__
+    0x22,    // __X___X_
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   l
+    0x18,    // ___XX___
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x1C,    // ___XXX__
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   m
+    0x00,    // ________
+    0x2A,    // __X_X_X_
+    0x3E,    // __XXXXX_
+    0x2A,    // __X_X_X_
+    0x2A,    // __X_X_X_
+    0x2A,    // __X_X_X_
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   n
+    0x00,    // ________
+    0x2C,    // __X_XX__
+    0x32,    // __XX__X_
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   o
+    0x00,    // ________
+    0x1C,    // ___XXX__
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x1C,    // ___XXX__
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   p
+    0x00,    // ________
+    0x3C,    // __XXXX__
+    0x22,    // __X___X_
+    0x3C,    // __XXXX__
+    0x20,    // __X_____
+    0x20,    // __X_____
+    0x20     // __X_____
+  },
+  {
+    0x00,    // ________   q
+    0x00,    // ________
+    0x1C,    // ___XXX__
+    0x24,    // __X__X__
+    0x1C,    // ___XXX__
+    0x04,    // _____X__
+    0x04,    // _____X__
+    0x06     // _____XX_
+  },
+  {
+    0x00,    // ________   r
+    0x00,    // ________
+    0x2E,    // __X_XXX_
+    0x30,    // __XX____
+    0x20,    // __X_____
+    0x20,    // __X_____
+    0x20,    // __X_____
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   s
+    0x00,    // ________
+    0x1E,    // ___XXXX_
+    0x20,    // __X_____
+    0x1C,    // ___XXX__
+    0x02,    // ______X_
+    0x3C,    // __XXXX__
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   t
+    0x08,    // ____X___
+    0x3E,    // __XXXXX_
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x06,    // _____XX_
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   u
+    0x00,    // ________
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x1E,    // ___XXXX_
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   v
+    0x00,    // ________
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x14,    // ___X_X__
+    0x08,    // ____X___
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   w
+    0x00,    // ________
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x2A,    // __X_X_X_
+    0x2A,    // __X_X_X_
+    0x14,    // ___X_X__
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   x
+    0x00,    // ________
+    0x22,    // __X___X_
+    0x14,    // ___X_X__
+    0x08,    // ____X___
+    0x14,    // ___X_X__
+    0x22,    // __X___X_
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   y
+    0x00,    // ________
+    0x22,    // __X___X_
+    0x22,    // __X___X_
+    0x1E,    // ___XXXX_
+    0x02,    // ______X_
+    0x04,    // _____X__
+    0x18     // ___XX___
+  },
+  {
+    0x00,    // ________   z
+    0x00,    // ________
+    0x3E,    // __XXXXX_
+    0x04,    // _____X__
+    0x08,    // ____X___
+    0x10,    // ___X____
+    0x3E,    // __XXXXX_
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   {
+    0x04,    // _____X__
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x10,    // ___X____
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x04     // _____X__
+  },
+  {
+    0x00,    // ________   |
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x00     // ________
+  },
+  {
+    0x00,    // ________   }
+    0x10,    // ___X____
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x04,    // _____X__
+    0x08,    // ____X___
+    0x08,    // ____X___
+    0x10     // ___X____
+  },
+  {
+    0x00,    // ________   ~ (ascii 126)
+    0x00,    // ________
+    0x10,    // ___X____
+    0x2A,    // __X_X_X_
+    0x04,    // _____X__
+    0x00,    // ________
+    0x00,    // ________
+    0x00     // ________
+  },
+    {
+    0x18,    // ___XX___   flor cilab(127)
+    0x66,    // _XX__XX_
+    0x99,    // X__XX__X
+    0xA6,    // X_X__XX_
+    0x65,    // _XX__X_X
+    0x99,    // X__XX__X
+    0x66,    // _XX__XX_
+    0x18     // ___XX___
+  },
+};
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ht1632.h	Wed Sep 28 07:59:14 2011 +0000
@@ -0,0 +1,27 @@
+/*
+ * Header for Holtek ht1632 LED driver 
+ */
+ 
+ /* Original Nov, 2008 by Bill Westfield */
+
+
+#define ID_CMD 4        /* ID = 100 - Commands */
+#define ID_RD  6        /* ID = 110 - Read RAM */
+#define ID_WR  5        /* ID = 101 - Write RAM */
+
+#define CMD_SYSDIS 0x00    /* CMD= 0000-0000-x Turn off oscil */
+#define CMD_SYSON  0x01    /* CMD= 0000-0001-x Enable system oscil */
+#define CMD_LEDOFF 0x02    /* CMD= 0000-0010-x LED duty cycle gen off */
+#define CMD_LEDON  0x03    /* CMD= 0000-0011-x LEDs ON */
+#define CMD_BLOFF  0x08    /* CMD= 0000-1000-x Blink ON */
+#define CMD_BLON   0x09    /* CMD= 0000-1001-x Blink Off */
+#define CMD_SLVMD  0x10    /* CMD= 0001-00xx-x Slave Mode */
+#define CMD_MSTMD  0x14    /* CMD= 0001-01xx-x Master Mode */
+#define CMD_RCCLK  0x18    /* CMD= 0001-10xx-x Use on-chip clock */
+#define CMD_EXTCLK 0x1C    /* CMD= 0001-11xx-x Use external clock */
+#define CMD_COMS00 0x20    /* CMD= 0010-ABxx-x commons options */
+#define CMD_COMS01 0x24    /* CMD= 0010-ABxx-x commons options */
+#define CMD_COMS10 0x28    /* CMD= 0010-ABxx-x commons options */
+#define CMD_COMS11 0x2C    /* CMD= 0010-ABxx-x commons options */
+#define CMD_PWM    0xA0    /* CMD= 101x-PPPP-x PWM duty cycle */
+ 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Sep 28 07:59:14 2011 +0000
@@ -0,0 +1,338 @@
+#include "mbed.h"
+#include "ht1632.h"
+#include "font3.h"  
+
+#define HIGH 1
+#define LOW 0
+
+DigitalOut ht1632_wrclk(p7); // For Test : Led1 is Clock
+DigitalOut ht1632_data(p5); //            Led2 is Data ....
+DigitalOut ht1632_cs(p21); //            Led3 is CS
+DigitalOut myled1(LED1);
+
+typedef unsigned char byte;
+
+void byteOut(byte c);
+void ht1632_chipselect(byte chipno);
+static void ht1632_sendcmd (byte command);
+static void ht1632_senddata (byte address, byte data);
+void ht1632_chipfree(byte chipno);
+void ht1632_writebits (byte bits, byte firstbit);
+void ht1632_plot (int x, int y, char val);
+void setup();
+void loop();
+
+int main() {
+    setup();
+    while(1) {
+        loop();
+    }
+}
+
+/*********************************************************************** 
+ * HT1624.pde - Arduino demo program for Holtek HT1632 LED driver chip, 
+ *            As implemented on the Sure Electronics DE-DP016 display board 
+ *            (16*24 dot matrix LED module.) 
+ * Nov, 2008 by Bill Westfield ("WestfW") 
+ *   Copyrighted and distributed under the terms of the Berkely license 
+ *   (copy freely, but include this notice of original author.) 
+ * 
+ * Adapted for 8x32 display by FlorinC. 
+ ***********************************************************************/  
+  
+// comment out this line for the 8x32 display;  
+#define _16x24_  
+  
+  
+#ifdef _16x24_  
+  #define X_MAX 23  
+  #define Y_MAX 15  
+#else  
+  #define X_MAX 31  
+  #define Y_MAX 7  
+#endif  
+  
+#define plot(x,y,v)  ht1632_plot(x,y,v)  
+#define cls          ht1632_clear  
+  
+#define DISPDELAY 0  
+  
+char* msg = "     Corporative Intelligence LABoratory (CILAB)";  //a&#65533;adimos 5 espacios en blanco
+//char* msg="cilab";
+int crtPos = 0;  
+int pos [24]={16,17,18,19,20,21,22,23,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7};//mapeamos poscion de columna de derecha a izquierda  
+  
+/*********************************************************************** 
+ * ht1632_chipselect / ht1632_chipfree 
+ * Select or de-select a particular ht1632 chip. 
+ * De-selecting a chip ends the commands being sent to a chip. 
+ * CD pins are active-low; writing 0 to the pin selects the chip. 
+ ***********************************************************************/  
+  
+void ht1632_chipselect(byte chipno)
+{
+  ht1632_cs = 0;
+}
+
+void ht1632_chipfree(byte chipno)
+{
+  ht1632_cs = 1;
+}
+  
+/* 
+ * we keep a copy of the display controller contents so that we can 
+ * know which bits are on without having to (slowly) read the device. 
+ * Note that we only use the low four bits of the shadow ram, since 
+ * we're shadowing 4-bit memory.  This makes things faster, and we 
+ * use the other half for a "snapshot" when we want to plot new data 
+ * based on older data... 
+ */  
+// (fc) covers the case for 32x8 as well (64 bytes, 4 bits)  
+byte ht1632_shadowram[96];  // our copy of the display's RAM  
+  
+/* 
+ * ht1632_writebits 
+ * Write bits (up to <img src="http://timewitharduino.com/wp-includes/images/smilies/icon_cool.gif" alt="8)" class="wp-smiley"> to h1632 on pins HT1632_DATA, HT1632_WRCLK 
+ * Chip is assumed to already be chip-selected 
+ * Bits are shifted out from MSB to LSB, with the first bit sent 
+ * being (bits & firstbit), shifted till firsbit is zero. 
+ */  
+void ht1632_writebits (byte bits, byte firstbit)
+{
+  while (firstbit) {
+    ht1632_wrclk = 0;
+    if (bits & firstbit) {
+      ht1632_data = 1;
+    }
+    else {
+      ht1632_data = 0;
+    }
+    ht1632_wrclk = 1;
+    firstbit >>= 1;
+  }
+}
+  
+/* 
+ * ht1632_sendcmd 
+ * Send a command to the ht1632 chip. 
+ * A command consists of a 3-bit "CMD" ID, an 8bit command, and 
+ * one "don't care bit". 
+ *   Select 1 0 0 c7 c6 c5 c4 c3 c2 c1 c0 xx Free 
+ */  
+static void ht1632_sendcmd (byte command)
+{
+  ht1632_chipselect(ht1632_cs);  // Select chip
+  ht1632_writebits(ID_CMD, 1<<2);  // send 3 bits of id: COMMMAND
+  ht1632_writebits(command, 1<<7);  // send the actual command
+  ht1632_writebits(0, 1);     /* one extra dont-care bit in commands. */
+  ht1632_chipfree(ht1632_cs); //done
+}
+
+ unsigned char Cal_RAM_Add (unsigned position)
+ /* The parameter &#65533;position&#65533; is pointing of which column will be sent data to.
+ The range of columns is 0~47. There are 24 columns on the upper three 0808 dot matrix boards, and their number is from 0 to 23 from left to right.
+  There are 24 columns on the lower three 0808 dot matrix boards, and their number is from 24 to 47 from left to right. */
+{
+unsigned char add;
+ if (position>23)
+ {
+    add=position-24;
+    add=((add&0xf8)+(7-(add&0x07)))*4+2;  
+ } 
+ else
+ {
+   add=position; 
+   add=((add&0xf8)+(7-(add&0x07)))*4;
+ }
+  return(add);
+}
+  
+/* 
+ * ht1632_clear 
+ * clear the display, and the shadow memory, and the snapshot 
+ * memory.  This uses the "write multiple words" capability of 
+ * the chipset by writing all 96 words of memory without raising 
+ * the chipselect signal. 
+ */  
+void ht1632_clear()  
+{  
+  char i;  
+  
+  ht1632_chipselect(ht1632_cs);  // Select chip  
+  ht1632_writebits(ID_WR, 1<<2);  // send ID: WRITE to RAM  
+  ht1632_writebits(0, 1<<6); // Send address  
+  for (i = 0; i < 96/2; i++) // Clear entire display  
+    ht1632_writebits(0, 1<<7); // send 8 bits of data  
+  ht1632_chipfree(ht1632_cs); // done  
+  for (i=0; i < 96; i++)  
+    ht1632_shadowram[i] = 0;  
+}  
+  
+/* 
+ * ht1632_senddata 
+ * send a nibble (4 bits) of data to a particular memory location of the 
+ * ht1632.  The command has 3 bit ID, 7 bits of address, and 4 bits of data. 
+ *    Select 1 0 1 A6 A5 A4 A3 A2 A1 A0 D0 D1 D2 D3 Free 
+ * Note that the address is sent MSB first, while the data is sent LSB first! 
+ * This means that somewhere a bit reversal will have to be done to get 
+ * zero-based addressing of words and dots within words. 
+ */  
+static void ht1632_senddata (byte address, byte data)  
+{  
+  ht1632_chipselect(ht1632_cs);  // Select chip  
+  ht1632_writebits(ID_WR, 1<<2);  // send ID: WRITE to RAM  
+  ht1632_writebits(address, 1<<6); // Send address  
+  ht1632_writebits(data, 1<<3); // send 4 bits of data  
+  ht1632_chipfree(ht1632_cs); // done  
+}  
+  
+void ht1632_setup()  
+{  
+  ht1632_cs = HIGH;    // unselect (active low)  
+  ht1632_sendcmd(CMD_SYSDIS);  // Disable system  
+  
+  ht1632_sendcmd(CMD_COMS11);  // 16*32, PMOS drivers  
+  
+  ht1632_sendcmd(CMD_MSTMD);     // Master Mode  
+  ht1632_sendcmd(CMD_SYSON);     // System on  
+  ht1632_sendcmd(CMD_LEDON);     // LEDs on  
+  
+  for (byte i=0; i<96; i++)  
+    ht1632_senddata(i, 0);  // clear the display!  
+  
+  wait(0.1);  // ?  
+}  
+  
+/* 
+ * Copy a character glyph from the myfont data structure to 
+ * display memory, with its upper left at the given coordinate 
+ * This is unoptimized and simply uses plot() to draw each dot. 
+ */  
+void ht1632_putchar(int x, int y, int largo, char c)  
+{  
+  // fonts defined for ascii 32 and beyond (index 0 in font array is ascii 32);  
+  byte charIndex;  
+  int cord_x;
+
+//    if (x<0 || x>)
+//        return; 
+  
+  // replace undisplayable characters with blank;  
+  if (c < 32 || c > 127)  
+  {  
+    charIndex = 0;  
+  }  
+  else  
+  {  
+    charIndex = c - 32;  
+  }  
+  
+  // move character definition, pixel by pixel, onto the display;  
+  // fonts are defined as one byte per row;  
+  for (byte row=0; row<8; row++)  
+  {  
+    byte rowDots = myfont[charIndex][row];  
+    for (byte col=0; col<largo; col++)  
+    {
+      if (x-col>0 && x-col<30)
+      {
+        cord_x=pos[x-col];
+        if (rowDots & (1<<(largo-1-col)))//comprueba si tiene que pintar un 1 o un 0
+            plot (cord_x, y+row,1);  
+        else  
+            plot(cord_x, y+row, 0); 
+      }
+    }
+  }  
+}  
+  
+/* 
+ * plot a point on the display, with the upper left hand corner 
+ * being (0,0), and the lower right hand corner being (23, 15). 
+ * Note that Y increases going "downward" in contrast with most 
+ * mathematical coordiate systems, but in common with many displays 
+ * No error checking; bad things may happen if arguments are out of 
+ * bounds!  (The ASSERTS compile to nothing by default 
+ */  
+void ht1632_plot (int x, int y, char val)  
+{  
+  if (x<0 || x>X_MAX || y<0 || y>Y_MAX)  
+     return;  
+  
+  char addr, bitval;  
+  
+  /* 
+   * The 4 bits in a single memory word go DOWN, with the LSB 
+   * (first transmitted) bit being on top.  However, writebits() 
+   * sends the MSB first, so we have to do a sort of bit-reversal 
+   * somewhere.  Here, this is done by shifting the single bit in 
+   * the opposite direction from what you might expect. 
+   */  
+  bitval = 8>>(y&3);  // compute which bit will need set  
+  
+  addr = (x<<2) + (y>>2);  // compute which memory word this is in  
+  
+  if (val) {  // Modify the shadow memory  
+    ht1632_shadowram[addr] |= bitval;  
+  }  
+  else {  
+    ht1632_shadowram[addr] &= ~bitval;  
+  }  
+  // Now copy the new memory value to the display  
+  ht1632_senddata(addr, ht1632_shadowram[addr]);  
+}  
+  
+/* 
+* This works equally well for both 16x24 and 8x32 matrices. 
+*/  
+void displayScrollingLine()  
+{  
+ /*   ht1632_putchar(7, 0, 6, 'c');
+      crtPos++;
+        ht1632_putchar(1, 0,6, 'i');
+          crtPos++;
+        ht1632_putchar(10, 0, 6, 'l');
+          crtPos++;
+        ht1632_putchar(7, 8, 6, 'a');
+         crtPos++;
+         ht1632_putchar(15, 8, 6, 'b');
+           crtPos++;
+        ht1632_putchar(23, 8,8 , 127);
+  // shift the whole screen 6 times, one column at a time;  
+*/
+  for (int x=0; x < 6; x++)  
+  {  
+    ht1632_putchar(x+30, 0,6, msg[crtPos]);//para mostrar el efecto de transicion cuando sale
+    ht1632_putchar(x+24, 0,6, ((crtPos+1 < strlen(msg)) ? msg[crtPos+1] : ' '));
+    ht1632_putchar(x+18, 0,6, ((crtPos+2 < strlen(msg)) ? msg[crtPos+2] : ' '));  
+    ht1632_putchar(x+12, 0,6, ((crtPos+3 < strlen(msg)) ? msg[crtPos+3] : ' ')); 
+    ht1632_putchar(x+6, 0,6, ((crtPos+4 < strlen(msg)) ? msg[crtPos+4] : ' '));  
+    ht1632_putchar(x, 0,6, ((crtPos+5 < strlen(msg)) ? msg[crtPos+5] : ' ')); 
+    ht1632_putchar(x-6, 0,6, ((crtPos+6 < strlen(msg)) ? msg[crtPos+6] : ' ')); //para mostrar el efecto de transicion cunado entra
+    wait(0.15);  
+  } 
+
+    ht1632_putchar(15, 8,8 , 127);
+
+    crtPos++;  
+  if (crtPos >= strlen(msg))  
+  {  
+    crtPos = 0;  
+  }  
+}  
+  
+/*********************************************************************** 
+ * traditional Arduino sketch functions: setup and loop. 
+ ***********************************************************************/  
+  
+void setup ()  
+{  
+  ht1632_setup();  
+  cls();
+}  
+  
+void loop ()  
+{  
+  // display line;  
+  displayScrollingLine();
+}  
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Wed Sep 28 07:59:14 2011 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/e2ac27c8e93e