• Najnowsze pytania
  • Bez odpowiedzi
  • Zadaj pytanie
  • Kategorie
  • Tagi
  • Zdobyte punkty
  • Ekipa ninja
  • IRC
  • FAQ
  • Regulamin
  • Książki warte uwagi

arduino&bluetooth co znaczą te komunikaty/blędy/ostrzeżenia?

Cloud VPS
0 głosów
151 wizyt
pytanie zadane 26 lutego 2022 w Sieci komputerowe, internet przez Igorek Mądrala (6,290 p.)

czesc zrobilem proste zapalenie i gaszenie diod przez bluetooth w arduino (aplikacje na telefon w app inventor)

kod arduino: 

char value;                
void setup() 
{
  Serial.begin(9600);         
  pinMode(13, OUTPUT);
  pinMode(12, OUTPUT);
}
void loop()
{
  if(Serial.available() > 0)  
  {
    value = Serial.read();    
    
    switch (value) {
    case '1':
      digitalWrite(13, HIGH);
      break;
    case '2':
      digitalWrite(13, LOW);
      break;
    case '3':
      digitalWrite(12, HIGH);
      break;
    case '4':
      digitalWrite(12, LOW);
      break;
   
    }
  }
   
}
    
                              
 

noi to dziala dobrze tylko podczas dzialania pojawia sie takie cos w konsoli:

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xb6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xb6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xb6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xb6
avrdude: stk500_recv(): programmer is not responding
Problem uploading to board.  See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions.
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xb6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xb6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xb6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xb6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xb6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xb6

i co to znaczy? jak to naprawic? czy w niczym to nie przeszkadza

 

edit: modul bluetooth , arduino uno - klon z allegro

Zaloguj lub zarejestruj się, aby odpowiedzieć na to pytanie.

Podobne pytania

0 głosów
2 odpowiedzi 55,128 wizyt
0 głosów
1 odpowiedź 688 wizyt
0 głosów
1 odpowiedź 389 wizyt
pytanie zadane 25 lutego 2018 w Python przez amator1 Początkujący (470 p.)

93,453 zapytań

142,448 odpowiedzi

322,717 komentarzy

62,829 pasjonatów

Motyw:

Akcja Pajacyk

Pajacyk od wielu lat dożywia dzieci. Pomóż klikając w zielony brzuszek na stronie. Dziękujemy! ♡

Oto polecana książka warta uwagi.
Pełną listę książek znajdziesz tutaj

Kursy INF.02 i INF.03
...