#include <pins_arduino.h> //------------------this header had to be included for SPI pin configuration.
2.struct SPI_UART_cfg SPI_Uart_config = {0x60,0x00,0x03,0x10}; //----------the first HEX char was changed from 0x50 to 0x60 for a 14MHz crystal.
3.Serial.write(incoming_data); //---------------------changed from Serial.print(incoming_data,BYTE); because BYTE is no longer supported.
// Enter command mode
SPI_Uart_print("$$$");
delay(5000); ////////---------------------this delay was changed from 500 to 5000 to allow the WiFly to enter CMD mode properly.
I am having what i term as strange problem with my wifly....Before it was working fine but when I did a factory reset through passing commands on teraterm terminal it goess off randomly....i will take power out and leave it for a while (10 minutes) then it goes on but goes off again...going off i mean no LED blinking...what could be the problem here?....please help...thanks
I needed to reset it because it wasn't responding to any commands passed through either the serial monitor or tera term terminal. it would just hang but after resetting it was back to normal except this strange condition.
Could it be damaged somehow??..last week it would only go off when it is associated to a network but now no matter what it only blinks for a few seconds then off it goes...I am almost done with my project if only i can solve this problem...
It's always good to buy a couple, so you can quickly replace the one you suspect it's broken.
Although I doubt it's broken, did you try reading the settings after the factory reset? Go through them one by one trying to understand their meaning based on the documentation.