We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
現在、利用している回路のDIPスイッチ部分が、内部PullDown前提の回路となっている。 Mbed/Arduinoではピンの内部プルアップ抵抗、内部プルダウン抵抗を指定するオプションがあるが、 spirit::DigitalIn にはそれがない。
そのために、不具合が発生しているため、spirit::DigitalIn のコンストラクタで内部プルアップ/ダウンを指定するようにしたい。
現状の spirit::DigitalOut(PinName pin) から spirit::DigitalOut(PinName pin, PullMode mode) のような形にする。
spirit::DigitalOut(PinName pin)
spirit::DigitalOut(PinName pin, PullMode mode)
The text was updated successfully, but these errors were encountered:
yutotnh
No branches or pull requests
なぜ機能が欲しいのか
現在、利用している回路のDIPスイッチ部分が、内部PullDown前提の回路となっている。
Mbed/Arduinoではピンの内部プルアップ抵抗、内部プルダウン抵抗を指定するオプションがあるが、 spirit::DigitalIn にはそれがない。
そのために、不具合が発生しているため、spirit::DigitalIn のコンストラクタで内部プルアップ/ダウンを指定するようにしたい。
提案の説明
現状の
spirit::DigitalOut(PinName pin)
からspirit::DigitalOut(PinName pin, PullMode mode)
のような形にする。その他
The text was updated successfully, but these errors were encountered: