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.
Fork of TM1637 by
Diff: Font_7Seg.cpp
- Revision:
- 1:f63d87466f55
- Parent:
- 0:dc8789a6e21f
--- a/Font_7Seg.cpp Sat Jan 30 20:35:25 2016 +0000
+++ b/Font_7Seg.cpp Fri Oct 06 16:43:56 2017 +0000
@@ -1,5 +1,8 @@
/* mbed LED Font Library, for TM1637 LED controller
* Copyright (c) 2016, v01: WH, Initial version, Test in CATALEX
+ * 2017, v02: WH, Added RobotDyn 6 Digit module,
+ * Added Eyewink 6 Digit + 5 Keys module,
+ * Constructor adapted to 2 pins: dio, clk
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -22,14 +25,16 @@
#include "Font_7Seg.h"
// Select one of the testboards for TM1637 LED controller
-#if (CATALEX_TEST == 1)
+#if ((EYEWINK_TEST == 1) || (ROBOTDYN_TEST == 1) || (CATALEX_TEST == 1))
//Mask for blending out and restoring Icons
const char MASK_ICON_GRID[] = {
LO(S7_ICON_GR1),
LO(S7_ICON_GR2),
LO(S7_ICON_GR3),
- LO(S7_ICON_GR4)
+ LO(S7_ICON_GR4),
+ LO(S7_ICON_GR5),
+ LO(S7_ICON_GR6)
};
// ASCII Font definition table for transmission to TM1637
