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

Add documentation to pullup mode #26

Open
veillette opened this issue Feb 27, 2018 · 0 comments
Open

Add documentation to pullup mode #26

veillette opened this issue Feb 27, 2018 · 0 comments

Comments

@veillette
Copy link

Using the arduino ide, it is possible to set the mode of a pin to INPUT, OUTPUT and INPUT_PULLUP. This last mode allows the client to use the high impedance of the internal pins to measure the voltage across it.

P5bot documentation doesn't not refer to the input_pullup mode but it is possible to use this mode using the standard firmata and pinmode

var pin= b.pin(pinNumber,'DIGITAL', 'PULLUP');
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

1 participant