theo92
New Member
Hey guys, how to read, I mean using what function, I can read USART?
I can send something to PC UART via PICKit2 UART tool, I can see you a small part....
Now, this process continues as long as UART link is connected or power is up.
I dont want it. I want when I'll send something (suppose I send "T") via PICKit2 UART Tool to the PIC18F2550 based circuity, It'll send something (suppose Temp:xxxx, Humid:xxx, Dew Point:xxxx) to PC.
Please tell me how to do this task. I think it should be easy....pls help
I dont know is it a interrupt or not, I dont have the interrupt concept.
I can send something to PC UART via PICKit2 UART tool, I can see you a small part....
Code:
..................................................
Temp:24.78
Humid:65.64%
Dew Point:17.90
..................................................
..................................................
Temp:24.68
Humid:65.63%
Dew Point:17.81
..................................................
..................................................
Temp:24.76
Humid:65.67%
Dew Point:17.90
..................................................
..................................................
Temp:24.68
Humid:65.71%
Dew Point:17.84
..................................................
..................................................
Temp:24.68
Humid:65.71%
Dew Point:17.84
..................................................
..................................................
Temp:24.68
Humid:65.71%
Dew Point:17.83
..................................................
..................................................
Temp:24.76
Humid:65.67%
Dew Point:17.89
..................................................
..................................................
Temp:24.82
Humid:65.74%
Dew Point:17.97
..................................................
..................................................
Temp:24.72
Humid:65.75%
Dew Point:17.88
..................................................
..................................................
Temp:24.66
Humid:65.62%
Dew Point:17.80
..................................................
..................................................
Temp:24.76
Humid:65.64%
Dew Point:17.88
..................................................
..................................................
Temp:24.80
Humid:65.76%
Dew Point:17.96
..................................................
..................................................
Temp:24.79
Humid:65.70%
Dew Point:17.94
..................................................
..................................................
Temp:24.79
Humid:65.70%
Dew Point:17.94
..................................................
..................................................
Temp:24.96
Humid:65.73%
Dew Point:18.10
..................................................
..................................................
Temp:24.96
Humid:65.67%
Dew Point:18.08
..................................................
..................................................
Temp:24.93
Humid:65.76%
Dew Point:18.08
..................................................
..................................................
Temp:24.82
Humid:65.65%
Dew Point:17.94
..................................................
..................................................
Temp:24.93
Humid:65.73%
Dew Point:18.08
..................................................
..................................................
Temp:24.98
Humid:65.68%
Dew Point:18.11
..................................................
..................................................
Temp:24.78
Humid:65.67%
Dew Point:17.91
..................................................
..................................................
Temp:24.97
Humid:65.67%
Dew Point:18.10
..................................................
..................................................
Temp:24.79
Humid:65.59%
Dew Point:17.91
..................................................
..................................................
Temp:24.83
Humid:65.59%
Dew Point:17.94
..................................................
..................................................
Temp:24.73
Humid:65.49%
Dew Point:17.83
..................................................
..................................................
Temp:24.83
Humid:65.50%
Dew Point:17.93
..................................................
..................................................
Temp:24.90
Humid:65.57%
Dew Point:18.00
..................................................
..................................................
Temp:24.76
Humid:65.49%
Dew Point:17.86
..................................................
..................................................
Temp:24.79
Humid:65.50%
Dew Point:17.88
..................................................
..................................................
Temp:24.96
Humid:65.44%
Dew Point:18.03
..................................................
..................................................
Temp:24.93
Humid:65.43%
Dew Point:18.00
..................................................
..................................................
Temp:24.96
Humid:65.49%
Dew Point:18.04
..................................................
..................................................
Temp:24.93
Humid:65.40%
Dew Point:17.99
..................................................
..................................................
Temp:24.82
Humid:65.41%
Dew Point:17.89
..................................................
..................................................
Temp:24.93
Humid:65.46%
Dew Point:18.00
..................................................
Now, this process continues as long as UART link is connected or power is up.
I dont want it. I want when I'll send something (suppose I send "T") via PICKit2 UART Tool to the PIC18F2550 based circuity, It'll send something (suppose Temp:xxxx, Humid:xxx, Dew Point:xxxx) to PC.
Please tell me how to do this task. I think it should be easy....pls help
I dont know is it a interrupt or not, I dont have the interrupt concept.