Please help me!


Closed Thread
Results 1 to 2 of 2

Thread: Please help me!

  1. #1
    ron6699's Avatar
    ron6699 Guest

    Default Please help me!

    Hy!

    I am a newbie in pic programming!

    When i programm EEPROM 1,"A" then my programm writes at programming time A at 1(that works)

    But when i use WRITE 1,10 it dont works.

    When is my programm starting?
    When the pic becomes energy or not?

    I am Programming Goldcard with 16F84.

    Is my Programm starting when i put it in a Chipdrive?(or when?)

    My questions are very stupid i know,but please help me!

    MFG
    RON

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    >When i programm EEPROM 1,["A"] then my programm writes at programming time A at 1(that works)

    But when i use WRITE 1,10 it dont works.

    Reason is because EEPROM use constant but WRITE must be use with variable. So these line will work

    ToBeStore VAR BYTE
    ToBeStore="A"
    WRITE 1,ToBeStore

    you can also use

    DATA @1,"A"

    >Is my Programm starting when i put it in a Chipdrive?(or when?)
    Program start when
    1. Supply is on
    2. When MCLR pin is high


    >My questions are very stupid i know,but please help me!
    there's no stupid question.

    hope the above help you
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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