I have a problem with my project.
I bougth a wifly shield and I want to connect it with Internet allow an arduino UNO, but I can`t send commands on the serial monitor. Im trying to have a connection using this code but it just display the command “scan” and I can’t join to my SSID. What Im doing wrong???
#include “Wifly.h”
#include <SoftwareSerial.h>
WiflyClass Wifly(2,3);
void setup()
{
Serial.begin(9600);
Wifly.init();
Wifly.setConfig(“I write my SSID here”,“My password”);
Wifly.join(“I write my SSID here”);
Wifly.checkAssociated();
while(!Wifly.connect(“192.168.1.164”,“90”));
Wifly.writeToSocket(“Connected!”);
}
void loop()
{
if(Wifly.canReadFromSocket())
{
Wifly.readFromSocket();
}
if(Serial.available())
{
Wifly.print((char)Serial.read());
}
}
Please help me, I’m confused and worried, Thanks and sorry about my English (I’m Colombian)