For...Next loop Steps DEC questions


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Location
    Houston, TX
    Posts
    96


    Did you find this post helpful? Yes | No

    Talking perfect

    SkiMask,

    Working great now....I realized that I had
    Y VAR BYTE instead of Y VAR WORD which caused my math to be all funky...
    I have also never used the // modulus math command either, I think I understand how that works now, I will play with 4 sig figs now to see If I get the rest all worked out.

    thanks a million!
    Padawan-78

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by earltyso View Post
    SkiMask,
    Working great now....I realized that I had
    Y VAR BYTE instead of Y VAR WORD which caused my math to be all funky...
    I have also never used the // modulus math command either, I think I understand how that works now, I will play with 4 sig figs now to see If I get the rest all worked out.
    thanks a million!
    If you've got PBP 2.50, you can use LONGs and get quite a bit of resolution...of course that'll be limited to your ADC also. 4 sig figs are easily doable with a 10-bit ADC...which obviously the PICs usually have.

Similar Threads

  1. Controlsystem for compact sporting (clay shooting)
    By Fredrick in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 30th July 2009, 17:48
  2. Using input from Switch to control a loop
    By MrRoboto in forum mel PIC BASIC
    Replies: 9
    Last Post: - 2nd February 2009, 06:02
  3. PBPL 2.50 observations
    By BrianT in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 18th September 2007, 00:58
  4. Serial Relays
    By tazntex in forum General
    Replies: 3
    Last Post: - 17th May 2007, 18:42
  5. Newbie question:
    By Izone in forum mel PIC BASIC
    Replies: 2
    Last Post: - 26th February 2006, 17:24

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