• serial port and timer
    Hi, I have a problem.I must send through the serial port the number 1 and the number 0 every second using a timer of the c167cs. Would someone know me to help?
  • Dual use of timers with serial port
    I'd like to find out if it is possible to use a timer for general purpose timing/counting and then configure it midway through the program for serial port baudrate setup,transmit data and then reconfigure...
  • serial port
    i use 89lpc922, I want to user serial port mode 0 (shift register) i use 74hc164 to connect serial port but it doesn't work please help me, give me some exemple code, thank you!
  • Serial and timer seem conflict
    void enable_timer(void) { TH0=0x01; TL0=0x01; TMOD = (TMOD & 0xF0) | 0x01; ET0 = 1; TR0 = 1; EA = 1; } void serial_init(void) { PCON |= 0x80; SCON = 0x52; TMOD |= 0x20; TH1 = 0xF3;...
  • serial port interrupt
    I am looking for an example program which uses interrupts to receive data through the serial port. This is what I have tried: #include <reg51.h> #include <CTYPE.H> #include <STDIO.H> int big_d, count...