help with PIC 16f877


Results 1 to 13 of 13

Threaded View

  1. #6
    naffets_23's Avatar
    naffets_23 Guest


    Did you find this post helpful? Yes | No

    Default

    ok
    well our instructor decided to change the school project to using serial instead of parallel communication

    i am using pic code for the first time and im not sure how to get the pic to capture the input from the 8 switches and output it.

    which ports on the pic do i use?
    because when i was checking out the pic schematic, all the ports could be programmed ?!

    how do u determine which ports to use and how would u modify the code that SuB-ZeRo gave me for serial?? (thank u very much for ur help SuB-ZeRo)

    finally, how do u setup the baud rate??

    let me explain
    the pic takes the input from the switches and outputs to the serial port on the computer
    if i setup the pc's com port to use a baud rate of 9600... how do i setup the pic to output at that baud rate?

    please keep in mind, i have never used a pic before but that doesnt mean that u cant throw some moderate code at me... just that ill ask questions later!

    thanks for all ur help
    Last edited by naffets_23; - 16th July 2005 at 20:21.

Similar Threads

  1. SPI Communication between two pic 16f877
    By anti83 in forum Serial
    Replies: 1
    Last Post: - 5th July 2008, 21:06
  2. serial communication between CMUcam and PIC 16F877
    By gengkeys in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 30th March 2007, 06:43
  3. pic 16f877 iel kayan yazı
    By bedir in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 14th January 2007, 07:10
  4. Use the PIC 16f877 or 877A instead of shift registers.
    By tsanders in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th October 2006, 17:23
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14

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