Raspberry Adafruit RGB LCD Shield,使用了多少个引脚?
Raspberry Adafruit RGB LCD Shield, how many pins are used?
我在 Adafruit 上购买了这个产品:https://learn.adafruit.com/adafruit-16x2-character-lcd-plus-keypad-for-raspberry-pi/overview
我需要知道这个产品在树莓派上使用了哪些和多少个引脚,因为我在面包板上加了一个电位计。
谢谢!
该产品已经有一个在组装过程中安装的内置电位器。
防护罩占用了所有 Raspberry Pi 引脚,但根据 assembly instructions:
If you want plug in a Cobbler or Gertboard at the same time, check out our Stacking Header, you can fit an IDC cable over it if the Plate is assembled with this part.
你可以使用高 "stacking headers" 到 assemble 它而不是它附带的 headers 然后在它上面堆叠其他盾牌和输出。
更新
在 OP 说他们想用辅助附加电位器控制屏幕颜色后:
您需要将其添加为完全自定义并连接到其中一个 GPIO 引脚并检测您对电位计的更改并使用 Adafruit_CharLCDPlate class' function
[=28= 在 python 代码中响应](红色、绿色、蓝色)` - 请参见 usage page
set_color(red, green, blue) - Set the color of the red, green, and blue backlight LEDs. Each color value should be a 1 for on or 0 for off. For example to set a red backlight call set_color(1,0,0) or to set a purple color call set_color(1,0,1).
我有相同的 lcd 和按钮 pcb。
连同上面的答案,虽然它带有带状电缆类型的连接,但只需要 4 个针脚就可以 运行 无聊。 5v gnd 和 2 种 i2c 方式,这样你就可以远离无聊或使用其他 gpio
希望对您有所帮助
我在 Adafruit 上购买了这个产品:https://learn.adafruit.com/adafruit-16x2-character-lcd-plus-keypad-for-raspberry-pi/overview
我需要知道这个产品在树莓派上使用了哪些和多少个引脚,因为我在面包板上加了一个电位计。
谢谢!
该产品已经有一个在组装过程中安装的内置电位器。
防护罩占用了所有 Raspberry Pi 引脚,但根据 assembly instructions:
If you want plug in a Cobbler or Gertboard at the same time, check out our Stacking Header, you can fit an IDC cable over it if the Plate is assembled with this part.
你可以使用高 "stacking headers" 到 assemble 它而不是它附带的 headers 然后在它上面堆叠其他盾牌和输出。
更新
在 OP 说他们想用辅助附加电位器控制屏幕颜色后:
您需要将其添加为完全自定义并连接到其中一个 GPIO 引脚并检测您对电位计的更改并使用 Adafruit_CharLCDPlate class' function
[=28= 在 python 代码中响应](红色、绿色、蓝色)` - 请参见 usage page
set_color(red, green, blue) - Set the color of the red, green, and blue backlight LEDs. Each color value should be a 1 for on or 0 for off. For example to set a red backlight call set_color(1,0,0) or to set a purple color call set_color(1,0,1).
我有相同的 lcd 和按钮 pcb。
连同上面的答案,虽然它带有带状电缆类型的连接,但只需要 4 个针脚就可以 运行 无聊。 5v gnd 和 2 种 i2c 方式,这样你就可以远离无聊或使用其他 gpio
希望对您有所帮助