WiFly Terminal Example
- Created on Thursday, 31 May 2012 02:25
- Last Updated on Tuesday, 29 April 2014 20:58
- Hits: 10611
I was getting my WiFly shield working again and updated the example code (from here) for Arduino 1.0.
It now uses the SPI library. I also cleaned up the SPI/UART initialization; since it is only used in one mode I didn't see the need for all the #defines and the configuration structure, so I eliminated them and hardcoded the values and registers. It makes for shorter code that is harder to understand, but there is less boilerplate to copy/paste this way.
Here it is: WiFly Terminal for Arduino 1.0