PICBASIC PLUS LITE Manual - Profe Saul
PICBASIC PLUS LITE Manual - Profe Saul
PICBASIC PLUS LITE Manual - Profe Saul
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>PICBASIC</strong> <strong>PLUS</strong> Compiler5.17. DELAYMSSyntax :Overview :Operators :DELAYMS LengthDelay execution for length x milliseconds (ms). Delays may be up to65535ms (65.535 seconds) long.Length can be a constant, variable, or expression.Example : DECLARE XTAL 4DIM Var as BYTEDIM Wrd as WORDVar = 50Wrd = 1000DELAYMS 100DELAYMS VarDELAYMS WrdDELAYMS Wrd + 10‘ Delay for 100ms‘ Delay for 50ms‘ Delay for 1000ms‘ Delay for 1010msNotes :See also :DELAYMS is oscillator independent, as long as you inform the compilerof the crystal frequency to use, using the DECLARE directive.DECLARE, DELAYUS, SLEEP, SNOOZE50Copyright Crownhill 2001