Maker Pro
Maker Pro

Microcontroller to iPhone interface

rezarazeghi

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

Attachments

  • a.zip
    88.8 KB · Views: 92

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
No.

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

THEN, I might look at your zip file.
 

rezarazeghi

Nov 7, 2012
5
Joined
Nov 7, 2012
Messages
5
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.
 

CDRIVE

Hauling 10' pipe on a Trek Shift3
May 8, 2012
4,960
Joined
May 8, 2012
Messages
4,960
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'.

The following errors occurred with your search:
Sorry - no matches. Please try some different terms.
The following words are either very common, too long, or too short and were not included in your search : help, help

Chris
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
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.)
 
Top