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.
Dependencies: mbed TextLCD PinDetect
Diff: src/bigchar.cpp
- Revision:
- 2:825f572902c6
- Parent:
- 1:b3907b8d9f65
--- a/src/bigchar.cpp Mon Jun 25 21:01:02 2012 +0000
+++ b/src/bigchar.cpp Mon Jun 25 21:20:22 2012 +0000
@@ -1,6 +1,7 @@
#include "TextLCD.h"
#include "bigchar.h"
+//Set up character memory on LCD for drawing two line numbers
void setup_bigchar(TextLCD* lcd)
{
int top_left[8] = {0x07, 0x0F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, };
@@ -28,6 +29,7 @@
lcd->writeCGRAM(TWO_LINES_5, two_lines_5);
}
+//Draw two-line numbers
void write_bigchar(TextLCD* lcd, int position, int number)
{
switch(number)
