05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

BEEP(FREQ, PERIOD)<br />

CRIMSON USER MANUAL - MODULAR CONTROLLER<br />

BEEP(FREQ, PERIOD)<br />

ARGUMENT TYPE DESCRIPTION<br />

freq int The required frequency in semitones.<br />

period int The required period in milliseconds.<br />

DESCRIPTION<br />

Sounds the terminal’s beeper for the indicated period at the indicated pitch. Passing a value of<br />

zero for period will turn off the beeper. Beep requests are not queued, so calling the function<br />

will immediately override any previous calls. For those of you with a musical bent, the freq<br />

argument is calibrated in semitones. On a more serious “note”, the Beep function can be a<br />

useful debugging aid, as it provides an asynchronous method of signaling the handling of an<br />

event, or the execution of a program step.<br />

FUNCTION TYPE<br />

This function is active.<br />

RETURN TYPE<br />

This function does not return a value.<br />

EXAMPLE<br />

Beep(60, 100)<br />

PAGE 298<br />

http://www.redlion.net/controller

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!