7 segment display library for mbed This routine support 2,4 and 8 digit anode-common or cathode-common LED.
Diff: Sseg.h
- Revision:
- 5:d99849505bf7
- Parent:
- 4:858e42224b50
- Child:
- 6:1de2abf828d6
--- a/Sseg.h Thu Aug 07 02:58:19 2014 +0000 +++ b/Sseg.h Thu Aug 07 03:13:38 2014 +0000 @@ -141,17 +141,17 @@ char segCh(char i); /** - * turn on DP - * - * @param dight - * + * turn on DP + * + * @param d dight + * */ void setDot(int d); /** * turn off DP * - * @param dight + * @param d dight * */ void clearDot(int d); @@ -183,7 +183,7 @@ /** * write a number to 8 dight LED * - * @param number + * @param n number * */ void writeNum8(int n);