Action
Write an opcode to a micro wire device.
Syntax
MWWOPCODE opcode , bits
Remarks
Opcode |
The opcode that needs to be send to the micro wire device. See the micro wire docs for the right values. |
Bits |
The number of bits to send. |
Before you can work with micro wire you must send an opcode to enable writing an EEPROM for example.
See also
Example
'enable write to EEPROM
'Needed bits : startbit (1), opcode (00) and (11) + address
'Mwwopcode opcode, numberOfBits
Mwwopcode &B1001100000 , 10 'send the code