CircuitGizmos

Electronic Products for Creative Minds

  • Home
  • Gizmo Store/Products
  • Documentation/Datasheets
  • Projects/Libraries
  • GizmoBlog
  • Services/Contact
    • Design
    • Contact Gizmo!
  • Your Gizmo Cart
    • Your Account
You are here: Home / GizmoBlog / MMBasic Language / Input and Output / PULSE

PULSE

PULSE pin, width

Will generate a pulse on ‘pin’ with duration of ‘width’ mS.

‘width’ can be a fraction. For example, 0.01 is equal to 10 µS This enables the generation of very narrow pulses.

The generated pulse is of the opposite polarity to the state of the I/O pin when the command is executed. For example, if the output is set high the PULSE command will generate a negative going pulse.

Notes:

‘pin’ must be configured as an output.

For a pulse of less than 3 mS the accuracy is ± 1 µS.

For a pulse of 3 mS or more the accuracy is ± 0.5 mS.

A pulse of 3 mS or more will run in the background. Up to five different and concurrent pulses can be running in the background.

A background pulse can have its time changed while it is running by issuing a new PULSE command or it can be terminated by issuing a PULSE command with zero for ‘width’.

See also:
PIN
PWM
PWM STOP
SETPIN

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

A Ton of Documentation

Open all | Close all

Projects made by Gizmo, Friends, and Members

open all | close all

Recent GizmoBlog Musings

  • Altair 8800 using a ColorMax!
  • Re-energizing the ColorMax, Pt. 3

Visit us!

  • Facebook

Electronic Products for Creative Minds

CircuitGizmos is your source for electronic products that help you create your embedded projects. Here at CircuitGizmos.com you will find a friendly store filled with creative products and all of the documentation that you need to use these gizmos.

We create devices that we believe make electronics fun, but we also know that our products are used for professional designs. For decades we have designed products for commercial, military, and medical industries. Our gizmos here are great for engineers and hobbyists alike.

Copyright © 2008+ CircuitGizmos, L.L.C. All rights reserved

Image already added

Recently Viewed Products

Copyright © 2025 · Generate Pro Theme on Genesis Framework · WordPress · Log in