Advertisement
Guest User

Debug

a guest
Nov 21st, 2014
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2. \link https://github.com/minhazul-haque/WiFlyControlPad
  3. */
  4.  
  5. #include <SoftwareSerial.h>
  6.  
  7. SoftwareSerial WiFly(10, 11); // RX, TX
  8.  
  9. void setup()  
  10. {
  11.   WiFly.begin(9600);
  12.   Serial.begin(9600);
  13. }
  14.  
  15. void loop()
  16. {
  17.   if (WiFly.available())
  18.   {
  19.     Serial.println(WiFly.read());
  20.   }
  21.   delay(250);
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement