We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Scenario : Need to generate a 15Khz clock and enable the serial port . Individually both work but I cant get this to work , help. void init_timer() { SCON = 0x50; TMOD = 0x22; TH1 = 0xFA; PCON = 0x80; ET0 = 1; TH0 = 223; EA = 1; TR0 = 1; TR1 = 1; TI = 1; ES = 1; } Timer0 is the 15Khz clock and Timer1 is for the serial port.