
This shield uses the UEXT connector of PIC32-PINGUINO and PIC32-PINGUINO-OTG. A very simple library is used to communicate with the module. You need only to initialise the module in the setup()
ZIG.init(channel,PAN_ID,Short_Address);
then to send data, you must use the ZIG.send instruction as described below:
ZIG.send(Dest_Address,"TOTO",4);
each module must be configured with:
- radio channel ( between 11 and 26 )
- PAN ID ( personnal area network identification between 0 and 65535 )
- address ( between 0 and 65535 ).
to receive data from another module, you must use this instruction:
length=ZIG.read(rxdata);
A simple example has been added to the example folder of revision 147 of Pinguino32X.

Have fun
JP
No comments:
Post a Comment