Track My Order
Frequently Asked Questions
International Shipping Info
Mon-Fri, 9am to 12pm and
1pm to 5pm U.S. Mountain Time:
Chat With Us
September 3, 2013
about 4 years ago
Good day Member #320550,
I’m Yannick, third year student at the faculty of electrical engineering at TUT (www.tut.ac.za) here in South Africa.
I’m working on a project based on creating a wireless network using arduino uno-R3 and the breakout board WiFly-Shield 2.21 RN-131C from sparkfun…
I’m using arduino 1.0.5 skecth, and still testing my shield to see if it responds as expected: like receiving “CMD” after sending “$$$”. But I do not receive such response from it, I’m busy working on it hoping to figure it out soon; meantime I’d like you to please check the following code of mine I used to do it, hoping you would give me a hint to solve it….
This code tests my Sparkfun WiFly-Shield
// headers files or librairies
// Declare/Initialize Vars.
int rx_in = 0, tx_out = 1, cnt = 0;
// Functions prototypes
// set up function, run once when program starts
//Initialize serial com. port at 9600 bps
Serial.print(“set uart baudrate 9600”);
//loop function, run infinitely after program starts
//Set shield in command mode
//wait till data arrive
while( Serial.available() > 0 )
wif_dat[cnt] = Serial.read(); cnt++;
wif_dat[cnt] = ‘\0’;
No public wish lists :(
Forgot your password?
No account? Register one!