Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Input Mode Pin 12, 14, 15. ESP8266 #1822

Open
YovanggaAnandhika opened this issue May 22, 2023 · 4 comments
Open

Cannot Input Mode Pin 12, 14, 15. ESP8266 #1822

YovanggaAnandhika opened this issue May 22, 2023 · 4 comments

Comments

@YovanggaAnandhika
Copy link

YovanggaAnandhika commented May 22, 2023

Device Type : Lolin V3 (ESP8266 Wifi);
Shorted GND and Pin 12, 14, 15 Not Working. But Output Mode Work;

Whats Wrong ?

let board = new Board({ debug : false, repl : false, port : "COM5"});

board.on("ready", async () => {

     const Up = new Relay({ pin : 4 });
     const Button1 = new Button({ pin : 2 }); // Pin D4
     const Button2 = new Button({ pin : 13 }); // pin D5

     await Ticket.on("down", async () => {
          //await Up.close();
     });

      await Button1.on("up", async () => {
              await Up.open();
              await setTimeout(async () => {
                  await Up.close();
              }, 500)
       }); // its Work

      await Button2.on("up", async () => {
              await Up.open();
              await setTimeout(async () => {
                  await Up.close();
              }, 500)
       }); // Not Work

});
@YovanggaAnandhika
Copy link
Author

YovanggaAnandhika commented Aug 1, 2023

the relay functions properly when using the out mode.
but, for the input mode can not respond to the input signal @moeinrahimi . i mean if port 13 not work for button push button.

hardware : NodeMCU Lolin v3
C++ Ino : FirmataPlus

@YovanggaAnandhika
Copy link
Author

so you are using firmataplus not firmatawifi?

Yes, i am using control via usb communication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@YovanggaAnandhika and others