启用 Raspberry Pi 的内部上拉电阻?
Enable Raspberry Pi's internal pull-up resistors?
有没有办法使用 Android 东西启用 Raspberry Pi 的内部上拉电阻?
编辑:我提交了一个功能请求 -> https://code.google.com/p/android/issues/detail?id=233630
首先你应该阅读 this link 以获得基础知识。Pull-up 电阻器是硬件,它使引脚的电压不确定为 1 或 0!
截至当前版本 (DP2),没有外设 I/O API 可以在 Android 事物上动态配置 pull/down 电阻器。
但是在 release notes and the BCM2835 documentation 中指出,Raspberry Pi 3 在以下引脚上默认配置了内部 pull-up (3.3V) 电阻器,当配置为输入 Gpio.setDirection
:
- BCM4
- BCM5
- BCM6
现在可以通过 android Things 控制台获得:
有没有办法使用 Android 东西启用 Raspberry Pi 的内部上拉电阻?
编辑:我提交了一个功能请求 -> https://code.google.com/p/android/issues/detail?id=233630
首先你应该阅读 this link 以获得基础知识。Pull-up 电阻器是硬件,它使引脚的电压不确定为 1 或 0!
截至当前版本 (DP2),没有外设 I/O API 可以在 Android 事物上动态配置 pull/down 电阻器。
但是在 release notes and the BCM2835 documentation 中指出,Raspberry Pi 3 在以下引脚上默认配置了内部 pull-up (3.3V) 电阻器,当配置为输入 Gpio.setDirection
:
- BCM4
- BCM5
- BCM6
现在可以通过 android Things 控制台获得: