You7  
              
                  
                    August 8, 2020,  4:15am
                   
                  1 
               
             
            
              Hi everyone I need to read data from cvs file and sent it via bluetooth to arduino
I have a file with data to turn off/on a led with timing
and for the app I need two buttons one for connet and other to send data to arduino
but the problems is  arduino receive data like [""ON,2,]],OFF..... but I want it to sent data like ON then it will sent the time like 2  then OFF then 3, and I dont know how to sent data like for loop one by one
Please if you understand my probleme hepl me
             
            
              
            
                
           
          
            
            
              Use "Replace all text" block.
Here an example:
  
  
    10.- Three LEDS on-off according to a sequence saved in a file. 
p9A0i_bluetooth_secuencia3LED.aia  (5.0 KB) 
 [bt_26]  
 [bt_27]  
In file rutina2.csv this content: 
[bt_28] 
Levels of: LED11 - LED12 - LED13 - Time in seconds of this combination. 
App sends 1-1-0-2* 
Arduino set LEDs on, on, off 
and wait 2 seconds. 
then Arduino sends to App “send_me_next” 
When App receives “send_me_next” 
App “send_next” combination: 1-0-0-2* 
// Juan A. Villalpando
// http://kio4.com/appinven…
   
 
             
            
              1 Like 
            
            
                
           
          
            
              
                You7  
              
                  
                    August 8, 2020,  5:17pm
                   
                  3 
               
             
            
              Wow finally
CCV DOS
             
            
              
            
                
           
          
            
            
              rutina2.csv   this content:
             
            
              1 Like 
            
            
                
           
          
            
              
                system  
              
                  
                    August 15, 2020,  6:16pm
                   
                  5 
               
             
            
              This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.