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 hmmmm

    I will give that a try, <h3>yesiree, I sure will,YEP, I believe you are talkin' a couple of light years ahead of my experience level,</h3> what I think you are saying is send a string $FF, $10, $E0, $FF and receive it, then subtract $FF from it repeatedly to extract data which does not equal 0 after the subtraction process. I'm sure I can do this . . . a year from now Nevertheless . . the hardest part is figuring out what to do, then you can work out how!
    JS
    Last edited by Archangel; - 30th November 2006 at 05:58.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Joe S.
    I will give that a try
    JS

    Well, that was just an example, limited info on what you really got going and a zillion different ways a guy could go about it all.
    Let me know what you come up with. It's always interesting to see different methods of doing the same thing...
    JDG

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Good ol' VB is still really easy to work with. Bruce have a short tutorial on that.
    http://rentron.com/VisualBasic.htm

    a piece of something to play around... posted here awhile back... when i had a good day
    http://www.picbasic.co.uk/forum/atta...3&d=1117969258
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Joe S.
    I will give that a try, <h3>yesiree, I sure will,YEP, I believe you are talkin' a couple of light years ahead of my experience level,</h3> what I think you are saying is send a string $FF, $10, $E0, $FF and receive it, then subtract $FF from it repeatedly to extract data which does not equal 0 after the subtraction process. I'm sure I can do this . . . a year from now Nevertheless . . the hardest part is figuring out what to do, then you can work out how!
    JS

    Ya know, I think I got this posted confused with another that was talking about using RF modules.
    If you're hardwired, then, heck, I wouldn't worry about all that packet stuff.

    And from the sounds of it, it sounds like you've got a good handle on what to do and when to do it.
    What are you trying to do anyways? What's the end result going to be?
    JDG

  5. #5
    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

  6. #6
    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