Worked as expected, but that is half the battle. When I remove the power from the wifly module I receive 'false'. When I reattach the power to the wifly module I receive 'true'. If you are familiar with the wifly module, to disconnect from a connected access point, you need to send the command "leave\r" while in cmd mode. I did just that, but I am still receiving a 'true'. Which led me to believe I did not change the GPIO4 pin functionality from LED to a GPIO. Changing the functionality from LED to GPIO is what I am having issues with. I am not sure how to achieve that. I read through the user manual, but I am still unsure how to achieve that.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@DrAzzy
Worked as expected, but that is half the battle. When I remove the power from the wifly module I receive 'false'. When I reattach the power to the wifly module I receive 'true'. If you are familiar with the wifly module, to disconnect from a connected access point, you need to send the command "leave\r" while in cmd mode. I did just that, but I am still receiving a 'true'. Which led me to believe I did not change the GPIO4 pin functionality from LED to a GPIO. Changing the functionality from LED to GPIO is what I am having issues with. I am not sure how to achieve that. I read through the user manual, but I am still unsure how to achieve that.