semp22
Newbie level 1
usart_write($ff); usart_write($00);
dear guyz..
i spent my whole day testing the USART bus in my PIC, but it's not transmitting the required data!.. instead all it's transmitting is logic 1... i'm using PIC16F877, 4MHZ crystal... configured the related registers including the baud rate register.. nothing seems to work.. i even tried a 20MHZ crystal and reconfigured the registers.. still nothing.. i used the following simple code
Usart_init(9600)
Usart_Write($00)
Usart_Write($FF)
regards...
dear guyz..
i spent my whole day testing the USART bus in my PIC, but it's not transmitting the required data!.. instead all it's transmitting is logic 1... i'm using PIC16F877, 4MHZ crystal... configured the related registers including the baud rate register.. nothing seems to work.. i even tried a 20MHZ crystal and reconfigured the registers.. still nothing.. i used the following simple code
Usart_init(9600)
Usart_Write($00)
Usart_Write($FF)
regards...