PIC18f2455 blink


Closed Thread
Results 1 to 23 of 23

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    whats wrong in this code

    for i=0 to 15
    eeprom i,[0]
    next i

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by iugmoh View Post
    whats wrong in this code

    for i=0 to 15
    eeprom i,[0]
    next i
    Read the manual, last paragraph of the explanation for EEPROM.

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Oky, What is the different between EEPROM and DATA ?

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by iugmoh View Post
    Oky, What is the different between EEPROM and DATA ?
    Besides the obvious syntax differences between the two, not a lot, ALMOST identical.

    You can make a DATA statement a 'readable' address, a label. Can't do that with the EEPROM statement.

  5. #5


    Did you find this post helpful? Yes | No

    Default

    I understand that DATA is upgraded version of EEPROM

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by iugmoh View Post
    I understand that DATA is upgraded version of EEPROM
    Maybe......There is a difference. Either I can't remember, or I can't put my finger on it at the moment.
    Of course there's always the chance that I just don't know

  7. #7


    Did you find this post helpful? Yes | No

    Default

    I change the PIC16f877A with PIC18F452 and nothing is working , so I will learn every thing step by step of PIC18f452

Similar Threads

  1. Trouble with most basic BLINK on PIC 16F819
    By confusedperson in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 16th April 2009, 21:46
  2. Simple Blink program doesnt work.
    By sccoupe in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 1st March 2009, 20:30
  3. Can't get blink circuit to work :(
    By Techbuilder in forum mel PIC BASIC Pro
    Replies: 21
    Last Post: - 31st January 2008, 13:00
  4. I Just Can't Get it to Blink - 16F628
    By Spindle in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 31st May 2005, 15:54
  5. 20Mhz crystal cause led to blink irreguarly
    By niknaksbarbeque in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th April 2005, 11:35

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