arduino wifi client

Solutions on MaxInterview for arduino wifi client by the best coders in the world

showing results for - "arduino wifi client"
Yannik
12 Oct 2016
1//This is assuming that you are connected to a network - router or other access point
2#include <WiFi.h>
3
4// Initialize the client library
5WiFiClient client;
6
7void setup() {
8  	WiFi.begin(ssid, pass);	//Connect to access point
9  	delay(4000);			//Allow time for connection to become established
10  
11	IPAddress server(192,168,2,1);  //The IPAddress of the server you're trying to connect to
12	client.connect(server, 80)		//Connect to the server through the servers IP and port number
13}