VB Help


Closed Thread
Results 1 to 36 of 36

Thread: VB Help

Hybrid View

  1. #1
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default Re: VB Help

    Having just read walters post, it seems to me I need a timer, that when it fires it runs the code now in the button_2 press. It would run the code everytime the timer condition is met? Then the button code needs a check for if getdata is 1 or 0. so really the code is inside an if_then.

    Then the timer is my event.

    BTW, if the code I posted makes no sense, my appalogies.

    How to setup the timer for every 50 ms?
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

  2. #2
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427


    Did you find this post helpful? Yes | No

    Default How did you post code WITH color??

    Hey Bert (cncmachineguy),

    How did you post code with the color formatting?
    I would like to be able to do that... (I think everyone should) as it makes code much more readable.'
    Is it the type of editor you copied the code from?? I notice that other posts in this thread do not have color formatting.

    thanks
    Last edited by Heckler; - 30th May 2011 at 16:40.
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

  3. #3
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default Re: VB Help

    This code was copied from VB express IDE. The color came with it. Would have been nice if the spacing had also followed along.

    I have NO idea why, normally I would have had to highlight and change color for all things not black.

    I think the other posts were prolly just typed up on the spot
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

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