aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/SerialToLCD/Lib/HD44780.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-04-14 21:47:02 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-04-14 21:47:02 +0000
commitbd3f6794dd95c8a8895b3cf25de3332bda603241 (patch)
tree746d86e183ad987764758b1f908f456acbe8120d /Projects/SerialToLCD/Lib/HD44780.c
parent2e757d8c38a6852427f25f302884c34dd509431a (diff)
downloadlufa-bd3f6794dd95c8a8895b3cf25de3332bda603241.tar.gz
lufa-bd3f6794dd95c8a8895b3cf25de3332bda603241.tar.bz2
lufa-bd3f6794dd95c8a8895b3cf25de3332bda603241.zip
Minor formatting updates to the SerialToLCD project.
Diffstat (limited to 'Projects/SerialToLCD/Lib/HD44780.c')
-rw-r--r--Projects/SerialToLCD/Lib/HD44780.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Projects/SerialToLCD/Lib/HD44780.c b/Projects/SerialToLCD/Lib/HD44780.c
index d67dc6d40..7bf989d2c 100644
--- a/Projects/SerialToLCD/Lib/HD44780.c
+++ b/Projects/SerialToLCD/Lib/HD44780.c
@@ -83,11 +83,11 @@ static void HD44780_WriteByte(const uint8_t c)
static void HD44780_PowerUp4Bit(void)
{
- /* Wait for more than 40 ms after VCC rises to 2.7 V */
+ /* Wait for more than 40 ms after VCC rises to 2.7 V */
_delay_ms(40);
HD44780_WriteNibble(0x03); // FN_SET 8-bit
- /* Wait for more than 4.1 ms */
+ /* Wait for more than 4.1 ms */
_delay_ms(5);
HD44780_WriteNibble(0x03); // FN_SET 8-bit
@@ -95,12 +95,12 @@ static void HD44780_PowerUp4Bit(void)
_delay_us(100);
HD44780_WriteNibble(0x03); // FN_SET 8-bit
- /* From now on we must allow 40us for each command */
+ /* From now on we must allow 40us for each command */
_delay_us(50);
HD44780_WriteNibble(0x02); // FN_SET 4-bit
- /* The LCD is now in 4-bit mode so we can continue
- using the 4-bit API */
+ /* The LCD is now in 4-bit mode so we can continue
+ using the 4-bit API */
_delay_us(50);
}