??? 03/15/06 14:31 Modified: 03/15/06 14:32 Read: times |
#112234 - I will not Responding to: ???'s previous message |
check a problem with serial that uses calls to "undocumented" functions. I have no way to tell how putchar works in your setup.
do the following as step1: //#include <stdio.h> #include <C8051F120.H> //#include <string.h> //#include <ctype.h> //#include <stdlib.h> then get rid of the errors that creates remove references to and code for UART1 get rid of the delay routines (you do not need them AND a delay routine in C is WRONG) set IE to 0x90 get rid of #pragma disable simplify, simplify, simplify Erik |