i need more explain


Closed Thread
Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2009
    Posts
    4

    Unhappy i need more explain

    hi,,,

    i read this definition but i need Know


    @ device INTRC_OSC_NOCLKOUT
    CMCON = 7 ' PortA = digital I/O
    VRCON = 0 ' A/D Voltage reference disabled
    ' Set receive register to receiver enabled
    DEFINE HSER_RCSTA 90h
    ' Set baud rate
    DEFINE HSER_BAUD 2400

    what is that mean(HSER)& (baud)??

    and

    some instruct assign to number like 90h & 2400??? what is the number mean?
    is the number constant??if not what the other options??????



    and thanx

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    It's all in the PICBasic Manual that came with your software.

  3. #3
    Join Date
    Apr 2009
    Posts
    4


    Did you find this post helpful? Yes | No

    Default

    i searching with no result...
    if u have some explain plzz help

  4. #4
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Let's never say that we're not helpfull...

    @ device INTRC_OSC_NOCLKOUT
    http://www.picbasic.co.uk/forum/showthread.php?t=543

    CMCON = 7 ' PortA = digital I/O
    VRCON = 0 ' A/D Voltage reference disabled
    Details on CMCON and VRCON are found in the Datsheet for your chosen PIC (downloadable from the Microchip website).

    ' Set receive register to receiver enabled
    DEFINE HSER_RCSTA 90h
    ' Set baud rate
    DEFINE HSER_BAUD 2400
    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.

  5. #5
    Join Date
    Apr 2009
    Posts
    4


    Did you find this post helpful? Yes | No

    Default



    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

  6. #6
    Join Date
    Apr 2009
    Posts
    4


    Did you find this post helpful? Yes | No

    Default

    I'M BACK

    UMMM

    DEFINE HSER_BAUD 2400
    IN THIS COMMAND I READ IN DATA SHEET & BOOK

    IT CAN BE SET (300, 1200,2400 ,9600)

    SO,,WHICH ON MUST BE CHOSEN???????

  7. #7
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    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.

  8. #8


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by lo0oly View Post
    I'M BACK

    UMMM



    IN THIS COMMAND I READ IN DATA SHEET & BOOK

    IT CAN BE SET (300, 1200,2400 ,9600)

    SO,,WHICH ON MUST BE CHOSEN???????

    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

Similar Threads

  1. Please explain me WHY!
    By financecatalyst in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 29th September 2009, 07:52
  2. 16F676 Please explain this problem...
    By Jayhovah in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 9th May 2008, 21:30
  3. Replies: 8
    Last Post: - 14th April 2008, 06:58
  4. Please explain about this program
    By wafagenius in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 10th October 2006, 01:25
  5. Please explain PORTB.0[i]
    By blainecf in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 2nd July 2006, 01:31

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts