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

Analog pin as digital. #482

Open
Plazmin opened this issue Jun 14, 2021 · 3 comments
Open

Analog pin as digital. #482

Plazmin opened this issue Jun 14, 2021 · 3 comments

Comments

@Plazmin
Copy link

Plazmin commented Jun 14, 2021

Arduino boards allow the use of analog pins as digital. Can the firmata use analog pins as digital? How to configure it?

@jguille2
Copy link

Hi Plazmin,

Yes, it depends on the boards... but you can use the "digital number" of the pin.

For example, in an "UNO", A0 is digital 14. Then, you can use that pin using that digital numeration.

Joan

@Plazmin
Copy link
Author

Plazmin commented Jun 14, 2021

I'm not sure if the firmata works like that. I don't want to burn the port in arduino so i want 100% confirmation.

@jguille2
Copy link

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