Forum Replies Created
-
AuthorPosts
-
G ThomasParticipant
Thanks for you reply Nikhil.
So you are saying the problem is NOT with the code?
Cause it on my cuircuit when i press it quickly the miliseconds is aprox correct just 1 second added… Even if i leave it for few seconds it consistantly jumps aprox 1 second.
I will add what you said onto the cuircuit and see what happens.
Thanks.
G ThomasParticipantDear ‘dagakshay’ (and members),
If you look closley at the 0:10 mark on the video, you will see it goes from around 4.08seconds to 5.05 as soon as the stop button is pressed….
G ThomasParticipantthanks for you help earlier.
as u may see in the video : http://www.engineersgarage.com/microcontroller/8051projects/stopwatch-AT89C51-circuit
when the stop button is pressed it jumps a second.
How do i alter code to make it more accurate to max 9 seconds on display and rest in mili and micro seconds?
G ThomasParticipantcode works now without errors. but as u can see in video :
http://www.engineersgarage.com/microcontroller/8051projects/stopwatch-AT89C51-circuit
when stop button is pressed it jumps a second. how do i alter code to make it more accurate and record up to max 9 seconds and accurate to miliseconds?
G ThomasParticipantThank you very much for your time and reply. I will work on your point and see how it goes.
Once again, Thank you!!!
G ThomasParticipantwhen the stop button is pressed it jumps a second or so….
G ThomasParticipantmanaged to download it from: http://www.sonsivri.com/forum/index.php?topic=28176.0
but code size limit 2k? *** error 56: can’t open file? keep getting this any ideas?
G ThomasParticipantcode size limit 2k? *** error 56: can’t open file? keep getting this any ideas?
sorry but im really new at this. Just trying to play and learn.
G ThomasParticipantHey thanks again for your post and help.
The link you gave me for the Keil compiler doesnt seem to have any creadible download links on that page. Have you got any other links to download the Keil compiler?
Best regards,
G ThomasParticipantTHANKYOU for the reply and suggestions. Much appreciated. In the process of trying it.
I was told I need to cinvert the code to hex to program the microcontroller… any ideas? or any ideas on how to program the microcontroller?
thanks again
G ThomasParticipantUsed read 51 complier
tried programming AT89s52 using universal programmmer (http://www.mqp.com/pm48.htm). but apparebntky need to conver it into hex?
G ThomasParticipantThanks alot for your time. Much appreciated.Compiling 8052.cError Count = 59“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 3 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 10 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 11 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 12 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 13 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 14 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 15 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 16 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 20 error: undefined symbol “of”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 21 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 23 error: illegal symbol name“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 24 error: illegal symbol name“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 25 error: invalid argument specifier“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 27 error: attempt to define a variable of type void“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 29 error: undefined symbol “P2”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 34 error: undefined symbol “the”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 35 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 36 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 37 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 38 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 39 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 40 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 41 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 42 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 43 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 44 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 45 error: illegal symbol name“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 47 error: undefined symbol “dig_ctrl_1”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 48 error: undefined symbol “dig_ctrl_2”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 49 error: undefined symbol “digi_out”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 50 error: undefined symbol “dig_ctrl_2”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 51 error: undefined symbol “dig_ctrl_1”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 52 error: undefined symbol “digi_out”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 53 error: undefined symbol “dig_ctrl_3”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 54 error: undefined symbol “dig_ctrl_2”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 55 error: undefined symbol “digi_out”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 56 error: undefined symbol “dig_ctrl_4”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 57 error: undefined symbol “dig_ctrl_2”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 58 error: undefined symbol “digi_out”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 61 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 62 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 63 error: Syntax error“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 70 error: undefined symbol “start_pin”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 71 error: undefined symbol “stop_pin”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 72 error: undefined symbol “reset_pin”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 73 error: undefined symbol “dig_ctrl_1”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 74 error: undefined symbol “dig_ctrl_2”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 75 error: undefined symbol “dig_ctrl_3”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 76 error: undefined symbol “dig_ctrl_4”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 77 error: undefined symbol “P2”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 79 error: undefined symbol “start_pin”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 87 error: undefined symbol “stop_pin”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 91 error: undefined symbol “stop_pin”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 97 error: undefined symbol “stop_pin”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 101 error: undefined symbol “start_pin”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 102 error: undefined symbol “reset”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 103 error: no semicolon“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 107 error: undefined symbol “start_pin”“C:Program Files (x86)RigelReads51Work8052 digital stopwatch8052.c” 113 error: undefined symbol “reset_pin” -
AuthorPosts