Rainbow Electronics MG260 User Manual
Page 221
![background image](/manuals/281850/221/background.png)
FLYFOT-MG260-MODULE
Page: 221 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without
prior written agreement.
Command
Possible responses
AT+WBR=0,9,”ABFF”,”C9” Note : Read 9 bytes
from the SPI bus, after having sent the 0xC9 Opcode
byte and ABFF Address.
+WBR: 0A5F98231012345678 OK
AT+WBR=1,5,”2A”
+WBR: 0102030405
Note : Read 5 bytes from the I2C Soft bus,
OK
at the 0x2A slave address.
AT+WBR=2,2,0
+WBR: A000
Read 2 bytes from the Parallel bus with the
OK
A2 pin set to 0.
Defined values
< BusId >
0 : SPI bus.
1 : I2C Soft bus.
2 : Parallel bus.
18.46 FLYFOT Bus Write +WBW
Description
This specific command allows to write a buffer on a specific bus (SPI, I2C soft or parallel).
Note : Bus configuration is set by the +WBM command.
Syntax
Command syntax: AT+WBW=
Command
Possible responses
AT+WBW=0,10
OK
0123456789ABCDEF0123
Note : Data buffer is written on SPI bus.
Note : Write 10 bytes on the SPI bus.
AT+WBW=1,5
OK
0246801234
Note : Data buffer is written on I2C Soft
Note : Write 5 bytes on the I2C Soft bus.
bus.