• Recent
  • Wiki
  • Github
  • 百度网盘
  • Onedrive
  • Official
  • Shop
  • Register
  • Login
  • Register
  • Login
  • Search
  • Recent
  • Wiki
  • Github
  • 百度网盘
  • Onedrive
  • Official
  • Shop

为什么cat value后显示0,实际测量电压为3.3V

Pi CM5
2
4
549
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W
    weiweiwei last edited by Jul 30, 2024, 1:54 AM

    我按照步骤创建gpio115后,将pin40设置为out后,不管echo 0>value还是echo 1>value之后电压都是3.3V

    G 1 Reply Last reply Jul 30, 2024, 2:08 AM Reply Quote 0
    • G
      george @weiweiwei last edited by Jul 30, 2024, 2:08 AM

      @weiweiwei
      具体操作的是哪个GPIO,截图出来看一下,这种控制不到的问题大概率是这个口没有工作在gpio模式。

      W 1 Reply Last reply Jul 30, 2024, 7:50 AM Reply Quote 0
      • W
        weiweiwei @george last edited by Jul 30, 2024, 7:50 AM

        @george 微信截图_20240730154917.png
        我用的是编号为40的引脚

        W 1 Reply Last reply Jul 30, 2024, 7:52 AM Reply Quote 0
        • W
          weiweiwei @weiweiwei last edited by Jul 30, 2024, 7:52 AM

          @weiweiwei 我是用 echo 115 > /sys/class/gpio/export这个指令弄的

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 out of 4
          • First post
            1/4
            Last post