Connect with us

Microcontroller to iPhone interface

Discussion in 'Microcontrollers, Programming and IoT' started by rezarazeghi, Nov 9, 2012.

Scroll to continue with content
  1. rezarazeghi

    rezarazeghi

    5
    0
    Nov 7, 2012
    Please help me
    can you tell me what is my project's problem that don't work well?
     

    Attached Files:

    • a.zip
      File size:
      88.8 KB
      Views:
      92
  2. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,418
    2,788
    Jan 21, 2010
    No.

    You have to tell us what it's supposed to do and what it does,

    THEN, I might look at your zip file.
     
  3. rezarazeghi

    rezarazeghi

    5
    0
    Nov 7, 2012
    My project is a digital iPhone that designed for 10 floors apartment.
    in the entrance of apartment there are a lcd and a keypad.
    each button is pressed the lcd displays.
    if press button three times goes to section that You can leave a message.
    Two microcontroller and spi protocol is used in this project.
    One of Microcontrollers Sets the date and time.
    But I do not know why it does not simulate very well.
    I think maybe the problem is the watchdog program.maybe i'm wrong.
    now you can help me?
    please help me.
     
  4. CDRIVE

    CDRIVE Hauling 10' pipe on a Trek Shift3

    4,960
    648
    May 8, 2012
    There should be a special place for titles like this. :rolleyes:

    This is the message that's returned when typing "help help" into our search box. I selected 'Titles Only'.

    Chris
     
  5. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,418
    2,788
    Jan 21, 2010
    There is no documentation in the source file I looked at. This makes it impossible for me to follow it.

    Additional to that it (obviously) refers to pins on the uC. I have no idea what they are supposed to be used for or connected to.

    What I suggest you do is go through the code and document everything. What the variables mean, that the pins are used for, what each section is trying to achieve, what each line does.

    If, after that, you can't find the problem yourself, then you can post the code here, and intersperse the code with a longer and deeper explanation of what it's doing (or what the user does to trigger this code's execution, and what it's doing wrong (etc).

    The mere act of documenting code is often enough to help you find bugs. If not, the act of explaining the problem to someone else will almost always yield some insight that is hard to get if you just run this stuff through our own head.

    I often use colleagues at work for this, I have used mt wife too. Once, when desperate, I used the cat. (Yes, I was successful using the cat.)
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-