ON()
function initializes all the global variables, opens the correspondent UART and switches the XBee ON. The baudrate used to open the UART is defined in the library (115200bps by default).OFF()
function closes the UART and switches the XBee OFF.