| ??? 09/27/02 16:36 Read: times |
#29789 - RE: stuck in loop -- Debugger not stuck |
How about this:
void Send (unsigned char byte2send) { P2_1 = 0; SBUF = byte2send; while (!TI) //Wait until sent { P2_2 = 0; } P2_2 = 1; TI = 0; P2_1 = 1; } I assume the serial interrupt is enabled. |
| Topic | Author | Date |
| stuck in loop -- Debugger not stuck | 01/01/70 00:00 | |
| RE: stuck in loop -- Debugger not stuck | 01/01/70 00:00 | |
RE: stuck in loop -- Debugger not stuck | 01/01/70 00:00 |



