i searching with no result...
if u have some explain plzz help
Let's never say that we're not helpfull...
http://www.picbasic.co.uk/forum/showthread.php?t=543@ device INTRC_OSC_NOCLKOUT
Details on CMCON and VRCON are found in the Datsheet for your chosen PIC (downloadable from the Microchip website).CMCON = 7 ' PortA = digital I/O
VRCON = 0 ' A/D Voltage reference disabled
I'm sorry you can't find this in your PBP Manual... this can be found in TWO places with all the information you need... the first is with the HSERIN Command (Section 5.30), and if those pages are missing from your manual, you'll also find it Appendix B at the back.' Set receive register to receiver enabled
DEFINE HSER_RCSTA 90h
' Set baud rate
DEFINE HSER_BAUD 2400
i will try
but the problem i'm computer science student i dont understand the data sheet
but i will try
and may be back here if i cant..
thanx Melanie
I'M BACK
UMMM
IN THIS COMMAND I READ IN DATA SHEET & BOOKDEFINE HSER_BAUD 2400
IT CAN BE SET (300, 1200,2400 ,9600)
SO,,WHICH ON MUST BE CHOSEN???????
You have just asked this question:
"I am driving down the road in my car - How fast must I drive?"
Answer:
You drive as fast as appropriate for the road conditions, for my level of skill and competence, for the safety of others and for that proscribed by law.
SER_BAUD is the baud rate of the serial port, or in other words data transmission speed.
Set the speed to be the same as the speed of the device you are communicating with. Both serial devices must be operating at the same speed for there to be complete and correct data transmission.
IF you are not communicating withnother serial device, turn off the serial ports using the control bits in the special registers.
Further comprehensive information can be found in the 'Help' option on the menu bar in Codestudio
Bookmarks