Categories
Price Range
Manufacturers
Themes
    Categories
    Home > Products > 019- Switch > Tactile Switch Module Green Push Button Momentary Arduino PIC
    Tactile Switch Module Green Push Button Momentary Arduino PIC
    enlarge

    4 Sold

    Tactile Switch Module Green Push Button Momentary Arduino PIC


    Rating: 0 out of 100 - based on 0 review(s) | Write Review |
    RM1.00  
    Item details
    SKU: 019-010

    Stock: Stock available

    Brand: 019- Switch
      Share This   Add To Facebook   Add To MySpace   

    Tactile Switch Module Green Push Button Momentary Arduino PIC, modul suis sentuh ini sudah mempunyai komponen perintang di atas modulnya. Oleh itu, pin OUT modul ini akan memberi isyarat voltan tinggi apabila suis ditekan manakala memberi isyarat voltan rendah apabila suis dilepaskan.

    Pautan Model Suis Tekan Fritzing :
    + Modul Suis Tekan ( https://www.dropbox.com/s/erz3my1aqqxujgp/TactilePushButtonModule.fzz?dl=1 )

    Litar Sambungan

    + https://www.nadieleczone.com.my/webshaper/pcm/pictures/Product3/t%20button%2004/Arduino_TactilePushButtonModule_bb.jpg

    + Fail Fritzing : Arduino_TactilePushButtonModule.fzz ( https://www.dropbox.com/s/xch8a7wu8hl504g/Arduino_TactilePushButtonModule.fzz?dl=1 )

    Kod Arduino

    + Kod Arduino boleh didapati di https://www.nadieleczone.com.my/products/Green-Tactile-Switch-Module-Push-Button-Momentary-Arduino-PIC/837

    /* Programmer : Muhammad Ilyasaa Bin Abdul Rahman
     * More info at https://www.nadieleczone.com.my
     */
     
    #define SUIS 2
    
    int keadaan_suis;
    
    void setup()
    {
      Serial.begin(9600);
      pinMode(SUIS, INPUT);
    }
    
    void loop()
    {
      keadaan_suis = digitalRead(SUIS);
      
      if(keadaan_suis == HIGH)
      {
        Serial.println("Suis Ditekan");
      }
      else
      {
        Serial.println("Suis Tidak Ditekan");
      }
    }