Compnents in my Grove Starter Kit V2 not detected


hi,


i use intel edison ublinux (debian edison).
when flashed édison, arduino code worker since yesterday when push code since arduino ide (transfer complete).



i push button led not light. try led (13) integrated arduino board not work too. when use basic example -> blink. led 13 blink.

code: [select]
// demo of grove - starter v2.0
// grove - button connect d3
// grove - led connect d7

const int pinbutton = 3;  
const int pinled    = 7;  // or 13

void setup()
{
    pinmode(pinbutton, input);                  // set button input
    pinmode(pinled, output);       // set led output
}

void loop()
{
  
    if(digitalread(pinbutton))                     // when button pressed
    {
        digitalwrite(pinled, high);             // led on
    }
    else
    {
        digitalwrite(pinled, low);
    }
    
    delay(10);
}


in debian, installed :

  • logitech media server
  • wifi + root script
  • squeezelite + root script
  • try install bluetooth (not work)



the packages .deb or root scripts can conflict arduino code ?
i don't understand why before work , not now.


thanks

hi, how button wired? have pull-up/down resistor?

paul


Arduino Forum > Development > Other Hardware Development > Compnents in my Grove Starter Kit V2 not detected


arduino

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code