2 questions


Closed Thread
Results 1 to 14 of 14

Thread: 2 questions

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default No project at hand

    Hi Skimask,
    I have no particular project at hand, I am trying to learn how to control a PIC via a serial connection, you know turn on some LEDs . . .
    JS

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Joe S.
    Hi Skimask,
    I have no particular project at hand, I am trying to learn how to control a PIC via a serial connection, you know turn on some LEDs . . .
    JS

    Well, heck, that should be simple enough for ya.
    Set up the receiver PIC to read the serial port.
    Receive an 'a', Portb.0 goes high, led goes on, echo back 'PB0=1' if you want,
    receive a 'b', Portb.0 goes low, led goes off, echo back 'PB0=0',
    get a 'c', portb.1 goes high, led goes on,
    get a 'd', portb.1 goes low, led goes off....

    And so on and so on.
    It all goes back to JCP (remember Joe's Communications Protocol?). It's all about what you want to do. In the end, it doesn't matter what I or anybody else thinks....it's all about what you want.

    So design the thing, write the firmware, and make it work!!!
    The problem is, once you get that working, ideas start flooding forth, and then you start spending big money on pieces/parts...

    JDG

Similar Threads

  1. ICSP (2) questions
    By Ramonetnet in forum mel PIC BASIC Pro
    Replies: 28
    Last Post: - 28th April 2008, 10:03
  2. LOTS of questions....
    By reaper0995 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd March 2008, 17:00
  3. USB-FTDI[UM232R] with PIC16f877a
    By bjox in forum USB
    Replies: 1
    Last Post: - 23rd February 2008, 22:40
  4. PicKit 2 Questions
    By dmairspotter in forum General
    Replies: 3
    Last Post: - 11th November 2007, 21:10
  5. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27

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