How do I get DATA @ to work with a 18F452?


Results 1 to 9 of 9

Threaded View

  1. #3
    jessey's Avatar
    jessey Guest


    Did you find this post helpful? Yes | No

    Default Thanks Steve

    Hi Steve,

    Thanks for your reply. Is the code segment (you make reference to) a test program to check the DATA @ statements? I'm not using a Serial Lcd, I'm using one of Melanie's 2 X 16 character Cool Blue Lcd's set up in a 4 bit mode. If I had a serial Lcd then I would try the code you have posted here but I have no idea what's happening in your code to be able to convert your HSEROUT to LCDOUT commands. I've never seen this code before:

    REP "*"\50,13,10]

    I looked up the REP command and it sets all kinds of parameters for the Lcd, spacing and such but it's beyond my scope of understanding.

    Attached is the configuration of my fuse settings for my 18f452. I'm using PBP ver 2.45 with MicroCode Studio 2.1.0.7 and MPASM v03.50 and EPIC Version 2.46 beta programmer. In the epic programmer I set (selected) Flash Program Write Enable which I think I need? And set in my software, I have Power-up Timer Enable & Watchdog Timer Enable enabled. Maybe there's something off in my fuse configuration settings that should be on, that's quite possible because for a lot of those settings, I have no idea what they do (don't laugh). I'd appreiacate it if you could confirm that my fuses are set properly to be able to utilize the DATA @ command? I'm sure I don't have anything in the main part of my program that would cause the DATA @ statement not to work.

    Thanks
    jessey
    Attached Files Attached Files

Similar Threads

  1. Char. LCD and 18F452 on 20 MHz not work
    By samettin in forum General
    Replies: 11
    Last Post: - 28th July 2008, 09:59
  2. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30
  3. Internal EEPROM Read/write Addressing Errors with 18F PIC's
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 18
    Last Post: - 12th July 2005, 19:42
  4. help
    By zugvogel1 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th February 2005, 20:42
  5. Need once your help one please
    By zugvogel1 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 9th February 2005, 20:33

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