MemOut Method
Description
Simultaneously sets 8 memory I/O bits based on the 8 bit value specified by the user.
Syntax
Sub MemOut (PortNumber As Integer, Value As Integer)
Sub MemOut (Label As String, Value As Integer)
Parameters
- PortNumber
An integer expression indicating the memory I/O byte - Label
A string expression indicating the memory I/O byte label. - Value
An integer expression indicating the output pattern of the output group for the specified byte. Valid range: 0 to 255
See Also
In Method, InBCD Method, MemIn Method, MemSw Method, Sw Method, Off Method, On Method, Oport Method
MemOut Example
VB Example:
m_spel.MemOut(2, 25)
C# Example:
m_spel.MemOut(2, 25);