MWWRITE

Top  Previous  Next

Action

Writes a value to the micro wire bus.

 

 

Syntax

MWWRITE variable , opcode , address, bytes

 

 

Remarks

Variable

The variable which's content must be send to the micro wires device.

Opcode

The opcode to use.

Address

The address of the device.

Bytes

Number of bytes to send.

 

 

See also

MWINIT , MWREAD , MWWOPCODE

 

 

Example

'write value of X to address 0

'opcode is 01 and we write one byte

Mwwrite X , &B101 , 0 , 1