| Mathew Admon 01/27/10 12:44 Modified: 01/27/10 12:45 Read: 416 times |
#172763 - About Atmel 89S8253 |
hi all,
i'm using the Atmel 89S8253 chip to do my project. so it is base on the 8051. i need to receive signal from PC in serial port to the chip. my PC serial port baud rate set to 19200. i connect the PC serial to a MAX232 chip ,then pass to the 89S8253 chip . this is the code for reading the serial signal JNB RI,$ MOV A,SBUF but how can i compare the data signal received? my objective is to receive 1 signal from PC, then 89S8253 chip compare which signal is received and on the specify pin. case 1 send "1" from PC to the chip, then the 89S8253 chip will turn on port0 pin 0 case 2 send "2" from PC to the chip, then the 89S8253 chip will turn on port0 pin 1 case 3 send "3" from PC to the chip, then the 89S8253 chip will turn on port0 pin 2 case 4 send "4" from PC to the chip, then the 89S8253 chip will turn on port0 pin 3 thanks for helping me! |
| Topic | Author | Date |
| About Atmel 89S8253 | Mathew Admon | 01/27/10 12:44 |
| Has example | Jon Ledbetter | 01/27/10 13:38 |
| Thanks | Mathew Admon | 01/27/10 18:59 |
| got some problems | Mathew Admon | 01/31/10 12:07 |
| additional info to my problems | Mathew Admon | 02/01/10 23:30 |
Re-check | Jon Ledbetter | 02/02/10 09:13 |
| Not specific to serial comms | Andy Neil | 01/27/10 18:53 |



