From Tim's website
Jump to: navigation, search

Rugby Clock Debug Information - CCS version

The message "Please Wait..." should appear at the start.

If this message isn't observed then check the LCD connections and view the control lines with an oscilloscope (see image).

LCD control signals
  1. The program starts with an initialisation sequence:
    1. 15ms delay
    2. RS low (select register 0)
    3. Repeat the following 3 times
      1. Set data
      2. EN low (clock data in)
      3. 200us delay
      4. EN high
      5. 5ms delay
  2. Send five commands followed by 14 characters (Image shows two characters)
    1. RS low
    2. RW high (read)
    3. Wait for D7 to go low
    4. RW low (write)
    5. Set data
    6. EN low (clock data in)
    7. 200us delay
    8. EN high
    9. Wait 5ms if a command was sent