Weird compile issue 7 segment LED display


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    May 2004
    Location
    New England
    Posts
    164


    Did you find this post helpful? Yes | No

    Default

    Here's what error 212 means (from the help file "PM.TXT" in the PBP folder):
    212 Extra Tokens on End of Line

    Some initial portion of the current line assembled correctly, but
    additional assembly tokens remain unprocessed. This is often the result of
    a syntax error (extra parameters, misplaced or missing punctuation, etc.).
    Code is generated for the correct initial portion of the line.
    And here's the cause...
    Code:
    @ DEVICE PIC16F88 INTRC_OSC, WDT_OFF, MCLR_OFF, BOD_ON
    There should be a comma after "PIC16F88"...
    @ DEVICE PIC16F88, INTRC_OSC, WDT_OFF, MCLR_OFF, BOD_ON


    There's still the issue of never getting to the "Display" subroutine though.

    Arch
    Last edited by Archilochus; - 20th June 2006 at 02:40.
    "Data sheets? I ain't got no data sheets. I don't need no data sheets. I don't have to read any stinking data sheets!"

  2. #2
    Join Date
    Oct 2005
    Location
    New Zealand
    Posts
    171


    Did you find this post helpful? Yes | No

    Default

    Thanks - got it sorted, I just had to put a gosub in my code to point to display anytime I wanted the display to update

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. Single digit 7 Seg LED clock - PIC16F88
    By thirsty in forum Code Examples
    Replies: 4
    Last Post: - 17th July 2009, 08:42
  3. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30
  4. 7 segment digit problem (using Mister E's code)
    By jmgelba in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 9th September 2005, 20:25
  5. WRITE not working
    By servo260 in forum mel PIC BASIC Pro
    Replies: 31
    Last Post: - 29th December 2004, 02:02

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