LOW

BS1 icon BS2 icon BS2e icon BS2sx icon BS2p icon BS2pe icon BS2px icon

HIGH / LOW Example

 

 

 

Syntax: LOW Pin

Function

Make the specified pin output low.

* Note: expressions are not allowed as arguments on the BS1. The range of the Pin argument on the BS1 is 0–7.

Quick Facts

  BS1 and all BS2 models
Related Commands

HIGH, TOGGLE

Explanation

The LOW command sets the specified pin to 0 (a 0 volt level) and then sets its mode to output. For example,

  LOW 6

...does exactly the same thing as:

  PIN6 = 0
  DIR6 = 1

  OUT6 = 0
  DIR6 = 1

Using the LOW command is faster in this case.

Go to PBASIC Language home page

Open Getting Started with Stamps in Class

Open Connection Troubleshooting

BASIC Stamp Help Version 2.5.4

Copyright © Parallax Inc.

8/21/2013