Venkadesh_M
Advanced Member level 4
- Joined
- Jun 26, 2013
- Messages
- 1,374
- Helped
- 258
- Reputation
- 516
- Reaction score
- 254
- Trophy points
- 1,363
- Location
- Coimbatore, India
- Activity points
- 8,020
Code C - [expand] 1 UART_Write( '0' + key );
There is a bug in Proteus related to baudrate. Change baudrate to 1200 bps or 2400 bps in Proteus Virtual Terminal. It will display properly. Keep baudrate as 9600 bps in code.
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 main() { inits(); while(1) { mon_keypad(); if(key_activate == 1) { UART_Write( '0' + key ); } } }
while(!RCIF)
continue;
return RCREG;
Code C - [expand] 1 2 3 4 5 6 7 void interrupt ISR() { if(T0IF) { some thing timer } }
if i write the coding of interrupt....can i receive the data automatically?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?