🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    GPIO17 does not works

    FACES Kit
    3
    4
    6.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      progman
      last edited by

      void gpio17(  )
      {
        Serial.println( "gpio17" );
      }
      void setup( )
      {
      	M5.begin( true, false, false, true );
      	Wire.begin();
      
      	pinMode( KEYBOARD_INT, INPUT_PULLUP );
      
      	pinMode( 17, INPUT );
      	attachInterrupt( digitalPinToInterrupt( 17 ), gpio17, RISING );
      }
      

      I send signal but nothing.
      M5Stack BASIC Kit GPIO17 works correct

      1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3
        last edited by

        What is the error message?

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        P 1 Reply Last reply Reply Quote 0
        • P
          progman @ajb2k3
          last edited by progman

          @ajb2k3 No error. Interrupt functions gpio17 does not called

          PS I build sketch with "Debug off" but with "Debug: Serial" same problem, Function does not called
          PPS GPIO 17 works ok if I remove FaceKit and use M5Stack GRAY separately. So, as I understand it is hardware problem of FaceKit only.

          1 Reply Last reply Reply Quote 0
          • lukasmaximusL
            lukasmaximus
            last edited by

            @progman I was told by one of our engineers that gpio5 is the interrupt pin on the faces kit

            1 Reply Last reply Reply Quote 0
            • First post
              Last post