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

    M5Stick C mit EXTEND I/O-Modul

    PROJECTS
    4
    9
    12.2k
    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.
    • S
      super1grobi
      last edited by

      Um die Zahl der Ein- und Ausgänge am M5Stick C zu erweitern habe ich das Modul EXT.IO erworben. Ich möchte damit über den I2C-Bus max. 8 Ein- oder Ausgänge betreiben. Leider fehlt mir dazu ein passendes Beispiel. Kann mir bitte jemand helfen?
      Horst.

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

        @super1grobi said in M5Stick C mit EXTEND I/O-Modul:

        Um die Zahl der Ein- und Ausgänge am M5Stick C zu erweitern habe ich das Modul EXT.IO erworben. Ich möchte damit über den I2C-Bus max. 8 Ein- oder Ausgänge betreiben. Leider fehlt mir dazu ein passendes Beispiel. Kann mir bitte jemand helfen?
        Horst.

        Welche Programmiersprache?

        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!

        1 Reply Last reply Reply Quote 0
        • S
          super1grobi
          last edited by

          Danke für die Antwort. Arduino IDE.
          Horst

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

            @super1grobi said in M5Stick C mit EXTEND I/O-Modul:

            Um die Zahl der Ein- und Ausgänge am M5Stick C zu erweitern habe ich das Modul EXT.IO erworben. Ich möchte damit über den I2C-Bus max. 8 Ein- oder Ausgänge betreiben. Leider fehlt mir dazu ein passendes Beispiel. Kann mir bitte jemand helfen?
            Horst.
            https://m5stack.com/collections/m5-unit/products/official-extend-serial-i-o-unit

            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!

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

              @super1grobi Hast du dieses Beispiel ausprobiert? https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/EXTIO/Arduino/EXT_IO

              1 Reply Last reply Reply Quote 0
              • S
                super1grobi
                last edited by

                Hallo ajb2k3, ich habe das vorgeschlagene Programm compiliert, und es gab folgende Meldung:
                'Pca9554' does not name a type und folgende Programmzeile war hervorgehoben: Pca9554 ioCon1(0x27); // create an objct at this adress.
                Ich kann damit nichts anfangen.

                hagueH ajb2k3A 2 Replies Last reply Reply Quote 0
                • hagueH
                  hague @super1grobi
                  last edited by

                  @super1grobi Hast Du die Bibliothek (.cpp und .h Datei aus dem github Link von lukasmaximus) mit kopiert und in ein Verzeichnis gelegt, welches vom Compiler berücksichtigt wird? Die PCA9554 Klasse ist in der Header-Datei "PCA9554.h" definiert. Diese wird ja inkludiert, dann sollte sie auch definiert sein und der Typ sollte bekannt sein.

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

                    @super1grobi Die PCA9554-Bibliothek wurde nicht installiert.
                    Gehen Sie in arduino zu Sketch> include library> Manage Library und suchen Sie nach dem PCA9554 und klicken Sie auf die Bibliothek, um sie zu installieren.

                    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!

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

                      Ich habe eine deutsche Sektion des Forums erstellt. Können wir dieses Thema bitte dorthin verschieben? http://forum.m5stack.com/category/37/deutsches-forum

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