Reference Home

begin()

Description

This is the setup function for MCW1001A (so, it must be the first function to issue).
This function makes a hardware reset (pin 7) of MCW.
Then it reads startup message at 115200 from MCW and then change serial speed to WIFISPEED defined (at present 19200).
Then switch on led 0.

Led 0 if a on flag for the shield.

Syntax

MWiFi.begin()

Parameters

none

Returns

nothing

Example:

#include <MWiFi.h> //library include

 

MWiFi WIFI; //instance of MWiFi

 

void setup() {
    WIFI.begin(); // startup shield
:
:
}

void loop() {}

Reference Home