Microcontroller › PIC › problem in receving message with pic16f877a › 1. how do u kno data
1. how do u kno data fm UART1_Read() is gud?
hello dear, actaully m running my code in proteous bcoz my hyperterminal and com port is not wroking well.i m using virtual terminal with receiving and transmiting pin.,so when i give input on rx pin through virtual terminal ,it stores in UART1_Read().after that i use UART1_Write(UART1_Read()); i get the same string on tx virtual terminal which i sent on rx pin.thats why i m saying UART1_Read is gud . but i want to store the string from UART1_Read() to in a array,so that i can print data on lcd with the help of ” for loop. “
2. what exact prblem u get – compile err? run err? what? same problem every time (with same SMS txt) or no?
i think, you got my problem now, . i m unable to store received data into a array
here inchar=UART1_Read();