16F914 and LCD interrupt bit (LCDIE)


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2009
    Posts
    78

    Default 16F914 and LCD interrupt bit (LCDIE)

    App=Countdown using a "dumb" LCD

    I'm trying to use SLEEP between the counts...and in order to do that i have to:

    -enable all unmasked peripheral interrupts (PEIE bit)
    INTCON.6=1

    -enable LCD interrupts (LCDIE bit)
    PIE2.4 = 1

    -enable the LCD in SLEEP mode (SLPEN bit)
    LCDCON.6 = 0


    Even whitout the SLEEP function (inside the FOR...NEXT countdown cycle), i coudn`t see the interrupt on the PIR2.4 register (LCDIF bit)


    Any ideea?

    Best regards,
    Bogdan

  2. #2


    Did you find this post helpful? Yes | No

    Default

    I believe the LCD interrupt only applies when using a multiplexed type LCD. If you are using a "static-mode" LCD, Darrel Taylor's Instant Interrupts should work nicely.

  3. #3
    Join Date
    Jan 2009
    Posts
    78


    Did you find this post helpful? Yes | No

    Default

    you are right...

    "The interrupt is not generated when the Type-A waveform is selected and when the Type-B with no multiplex (static) is selected."

    i was on Type -A and multiplex

    thank you man

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts