limiting to "no less than" zero


Results 1 to 31 of 31

Threaded View

  1. #9
    Join Date
    Mar 2009
    Posts
    653


    Did you find this post helpful? Yes | No

    Default Re: limiting to "no less than" zero

    I'd figured as much (on account everyone was doing it!)....can the default be changed to 0? (I'd imagine that switches get used with weak pullups or external pullups ....so the switch pressed condition would be a 0).

    Re Darrel's entry..

    Code:
    if volume.15 then volume = 0 ; zero if it went negative
    how does bit 15 of 'volume' being a '1' indicate negative? Can someone shine a little more light on this one please?
    Last edited by HankMcSpank; - 17th September 2011 at 13:37.

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