| Electronic Components Datasheet Search |
|
STC12LE5608 Datasheet(PDF) 33 Page - STCmicro Technology Co,.Ltd |
|
|
|||||||||||||||||||||||||||||
STC12LE5608 Datasheet(HTML) 33 Page - STCmicro Technology Co,.Ltd |
|
33 / 377 page ![]() serial_port_initial(); //initialize serial port // display_MCU_Start_Led(); //MCU begin to run when LED is be lighted // send_UART(0x34); // send_UART(0xa7); idata_point = 0xFC; for(j=0;j<=3;j++) { i = *idata_point; send_UART(i); idata_point++; } while(1); } void serial_port_initial() { SCON = 0x50; //0101,0000 8-bit variable baud rate No parity TMOD = 0x21; //0011,0001 Timer1 as 8-bit auto-reload Timer TH1 = RELOAD_COUNT; //Set the auto-reload parameter TL1 = RELOAD_COUNT; TR1 = 1; ES = 1; EA = 1; } void send_UART(unsigned char i) { ES = 0; TI = 0; SBUF = i; while(TI ==0); TI = 0; ES = 1; } void UART_Interrupt_Receive(void) interrupt 4 { unsigned char k = 0; if(RI==1) { RI = 0; k = SBUF; 33 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |