LCD issue - what does FLAGS = 0 really do?


Closed Thread
Results 1 to 2 of 2

Hybrid View

  1. #1

    Default LCD issue - what does FLAGS = 0 really do?

    Page 90 of my PBP manual in the LCDOUT instruction mentions FLAGS = 0 will reset an LCD that has been powered down and then powered up again for whatever reason.

    I am using the SDEC 2 x 16 with LED backlight and the current jumps from 120 mA (100 mA used by the backlight) up to about 180 mA after issuing
    FLAGS = 0
    Pause 1000

    Anyone know what FLAGS = 0 really does?

    FLAGS is not a reserved word in my manual.

    Cheers
    Brian

  2. #2
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    947


    Did you find this post helpful? Yes | No

    Default

    FLAGS = 0 is supposed to tell the LCD routines that it should intialize the LCD the next time an LCDOut command is received. Effectively it forces an initialization on the LCD when you call the LCDOut function.

Similar Threads

  1. Conway's Game Of Life
    By wellyboot in forum mel PIC BASIC Pro
    Replies: 45
    Last Post: - 28th May 2020, 06:14
  2. Thermo 7 segments - little problem
    By fratello in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 27th July 2013, 07:31
  3. RS485 bus - starting probem
    By wurm in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th January 2010, 13:35
  4. LCD freeze
    By harryweb in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 5th October 2009, 08:01
  5. Working with indivividual bytes of an array
    By J_norrie in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 22nd January 2007, 19:16

Members who have read this thread : 1

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