You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#include <Arduino.h>
#include <easywifi.h>
#define WIFI_SSID "somessid"
#define WIFI_PASSWORD "somepassword"
void setup() { Serial.begin( 9600 ); while(!Serial); // wait until the serial connection is stablished
// connect to existing access point as client
if( wifi_connect_as_client(WIFI_SSID, WIFI_PASSWORD) ) { // print debugging information
wifi_print_mode(); wifi_print_ip(); } else { Serial.print("Failed to connect to wifi "); Serial.print( WIFI_SSID ); Serial.println(); } }
void loop() { }
|