CPU/Crossbar/GPIO/JTAG/Package
  problem in program

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   problem in program
gvs
New Member
posted August 12, 2010 05:12 AM     Click Here to See the Profile for gvs   Click Here to Email gvs     Edit/Delete Message
Hi
I am facing a problem in my program.I am doing this in C8051F064ek kit. I attached the whole project file. When I apply a 3v pulse 1Hz signal to an external interrupt INT0 on Port 0.2 .and I making Port 1.6 as output and making the led to toggle, but toggling is random, which should not be according to program. I want to generate equal time period in ON and OFF of LED (Toggle) On P1.6.I want to know where the problem in the program so that toggling of the output should be equal time period in ON and off. please provide any solution

Thanks and regards
Srinivasa

IP: Logged

erikm
Member
posted August 12, 2010 08:17 AM     Click Here to See the Profile for erikm   Click Here to Email erikm     Edit/Delete Message
attached the whole project file.
to what? where?

DO NOT "attach the whole project file" Include the smallest possible commented and indented code snippet that show your problem

Erik

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | MCU User Forum

Have you seen our MCU Knowledge Base?


Ultimate Bulletin Board 5.47b