For Hepta-Sat Lite

Revision:
3:c3e667ee70f1
Parent:
2:031c35ada7e6
Child:
4:ede5c519e238
diff -r 031c35ada7e6 -r c3e667ee70f1 HeptaXbee.cpp
--- a/HeptaXbee.cpp	Sat Aug 05 13:36:13 2017 +0000
+++ b/HeptaXbee.cpp	Sat Aug 05 14:21:01 2017 +0000
@@ -30,7 +30,7 @@
                         char data1[],char data2[],char data3[],char data4[],char data5[],char data6[],char data7[],char data8[],char data9[],char data10[],char data11[],char data12[],char data13[],char data14[], 
                             int n1,int n2,int n3,int n4,int n5,int n6,int n7,int n8,int n9,int n10,int n11,int n12,int n13,int n14,int data_num)
 {
-    int N=0,i=0,ii,jj=0;
+    int N=0,i=0,ii;
     if(data_num>=1){
         for(i = 0; i <= n1-1; i++){
         output_data[N+i] = data1[i];
@@ -117,13 +117,7 @@
     }
     for(ii=0;ii<output_n;ii++){
         xbee.putc(output_data[ii]);  
-        /*
-        jj++;
-        if(jj==2)
-        {
-            xbee.putc(0x20);
-            jj=0;
-        }    */  
+        
     }
     xbee.printf("\n");   
 }
@@ -142,7 +136,7 @@
         xbee.puts( s );
 }
 char HeptaXbee::getc(){
-    char chara;
-    chara = xbee.getc();
-    return chara;
+    char character;
+    character = xbee.getc();
+    return character;
     }
\ No newline at end of file