Library for TM1637 LEDcontroller
Dependents: mbed_TM1637 TM1637_test
See here for more information.
Diff: Font_7Seg.cpp
- Revision:
- 1:f63d87466f55
- Parent:
- 0:dc8789a6e21f
diff -r dc8789a6e21f -r f63d87466f55 Font_7Seg.cpp
--- 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
TM1637 LED controller (48 LEDs max), Keyboard scan (16 keys max)