Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by sgtom

  1. S

    error related to serial code for interfacing 8052

    This is my altered code. With no errors and warnings, However I am not able to view any values in the serial window. PLEASE HELP! #include<reg51.h> #define msec 1 float sec1,sec2; int sec1_1,sec1_2,sec2_1,sec2_2; unsigned int...
  2. S

    error related to serial code for interfacing 8052

    Can u Plzz tell me how to use the simulation window in keil...i just cant find it..srry to bother u...much appreciated..
  3. S

    error related to serial code for interfacing 8052

    So is the code which we r using rite?, as in wat should we do?, we r using hyper terminal of the PC which we connect our serial circuit to, and yeah we r given an option to select/set the baud rate, which we set it to 9600, so what else can we do? Thank you.
  4. S

    error related to serial code for interfacing 8052

    now we have used : void serial(unsigned int sec1) so basically it compiled but when we interface, it shows smiley faces, hearts, and clubs and random characters, so how do we read the time out of it. this is our final main code that complied: #include<reg51.h> #define msec 1 unsigned int...
  5. S

    error related to serial code for interfacing 8052

    So can we put void serial (void), instead of void serial(), is that what u mean exactly?, pls let me know asap. Thanks.
  6. S

    error related to serial code for interfacing 8052

    So is it related to void serial(), or how do u exactly call an arguement while calling the function, if u can pls ellaborate with an example. Thanks
  7. S

    error related to serial code for interfacing 8052

    if u can pls let me know what is function prototype?, cause i am not understanding what r u trying to say, or r u talking abt the void function? Thanks
  8. S

    Stopwatch C code - Urgent help required plz!

    according to our code would u be able to tell us where the time value is stores as in which register?, like u know what addresses is it stored in? Thanks a ton n ways for so much help mate, really appreciate it.
  9. S

    error related to serial code for interfacing 8052

    i have printscreened th excact error window, its still that one error. using AT89s52
  10. S

    Stopwatch C code - Urgent help required plz!

    hey thanks for the reply, so how exactly do we do it?, if u can please send soem code or modify the code that we have put up!!!!
  11. S

    error related to serial code for interfacing 8052

    when i try interfacing my stopwatch using 8052 with the PC this is the error we get: Build target 'Target 1' compiling microcontroller programming.c... MICROCONTROLLER PROGRAMMING.C(123): error C267: 'serial': requires ANSI-style prototype Target not created if u can pls help me the code: that...
  12. S

    How to store values in code memory of 8051 and secure it with password?

    basically we want to store the timing values in a register and then do serial communication! Thanks
  13. S

    Stopwatch C code - Urgent help required plz!

    URGENT How would I go about interfacing this cuircuit with my computer ( i need the recorded times displayed on comp too) I would like the times to be sent to accumulator register when i press stop button. how do i go about writting a code in C for that?# I just need the times to be stored...
  14. S

    How to store values in code memory of 8051 and secure it with password?

    this is a code that i have for a stop watch using 8051 microcntroller #include<reg51.h> #define msec 1 unsigned int sec1,sec2; int sec1_1,sec1_2,sec2_1,sec2_2; unsigned int digi_val[10]={0x40,0xF9,0x24,0x30,0x19,0x12,0x02,0xF8,0x00,0x10}; sbit dig_ctrl_1=P1^0; sbit dig_ctrl_2=P1^1; sbit...

Part and Inventory Search

Back
Top