16F877A and LCD HD44780


Results 1 to 39 of 39

Threaded View

  1. #30


    Did you find this post helpful? Yes | No

    Default Re: 16F877A and LCD HD44780

    see pbp help under Numeric Constants

    PICBasic allows numeric constants to be defined in the three bases: decimal, binary and hexadecimal. Binary values are defined using the prefix '%' and hexadecimal values using the prefix '$'. Decimal values are the default and require no prefix.

    Example

    100 ' Decimal value 100
    %100 ' Binary value for decimal 4
    $100 ' Hexadecimal value for decimal 256
    in this particular case 0 and 1 binary are the same as 0 and 1 decimal - so delete the percent sign. you need to find out why this is happening. Problem with cut and paste maybe?

    I'm running v3.0.7.1
    Last edited by towlerg; - 28th October 2013 at 04:02.

Similar Threads

  1. 20x4 HD44780 LCD Supplier Recomendations
    By retepsnikrep in forum General
    Replies: 4
    Last Post: - 20th September 2011, 00:43
  2. 2x16 LCD Module with HD44780 + 16F877A
    By comwarrior in forum General
    Replies: 12
    Last Post: - 19th August 2009, 20:38
  3. Lcd Hd44780
    By alaaodeh in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 6th February 2007, 15:04
  4. code for LCD-4x20 HD44780....HELP
    By Martin.... in forum mel PIC BASIC
    Replies: 13
    Last Post: - 24th July 2006, 23:31
  5. LCD 4x20 HD44780
    By inteco in forum mel PIC BASIC
    Replies: 13
    Last Post: - 27th June 2006, 17:52

Members who have read this thread : 1

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

Tags for this Thread

Posting Permissions

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