From 57032a1f282394f3142ed02980c6d71ac5ae6b2d Mon Sep 17 00:00:00 2001 From: Ruel Tmeizeh Date: Tue, 28 Aug 2018 14:35:35 -0400 Subject: [PATCH] Updated Readme.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e37a05a..faaa531 100644 --- a/README.md +++ b/README.md @@ -12,18 +12,18 @@ sdcc --iram-size 128 --stack-auto lcd.c packihx lcd.ihx > lcd.hex ``` -Since my EPROM programmer only handles raw hex data, no special formats, I also do: +Since my EPROM programmer only handles ascii hex data, no special formats, I also do: ``` objcopy -I ihex -O binary lcd.hex lcd.bin xxd -p lcd.bin lcd.bin.hex ``` -Those two commands give me a raw binary file, and then convert that binary to the raw ascii hex. +Those two commands give me a raw binary file, and then convert that binary to the ascii hex file. -HD44780 LCD is hooked up to MCU as follows: +The HD44780 LCD is hooked up to the MCU as follows: ``` -LCD: DB4|DB5|DB6|DB7|EN |RS RW -P1: 0 1 2 3 4 5 GND +LCD: DB4|DB5|DB6|DB7|EN|RS|RW +P1: 0 1 2 3 4 5 GND ``` LEDs and piezo buzzer or speaker are hooked to pins of P3. I used 2.7k has pullup resistors for the LCD lines on P1. I think 4.7k would be more correct but the 2.7ks were what I had handy.