Jump to content

yi-hsin_hung

Tinker Engineer
  • Content Count

    28
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by yi-hsin_hung


  1. Hi @JasonWu:

         Excuse me! Didn't you connect any device to 40 pin and then the pin status can change normally by gpio readall?

    I  look your code to pull low the 40 pin from your picture.

    The GPIO.output(SEEP, GPIO.LOW) should let the 40 pin to low. Did RPI4 GPIO.output(SEEP, GPIO.LOW)  let the value to high?

    Thank a lot!


  2. Hi @CyberT:

         The config table's naming of asus gpio input and output node are for Tinker Board S. And, the packages are development by third party member(https://github.com/tinycore-hisanori/node-red-contrib-tinkeros-gpio). But, i think it is compatible with Tinker Board 2 about gpio pin number.

    You can replace the attachment file to /home/linaro/.node-red/node-moduels/red-contrib-tinkeros-gpio/nrgpio.sh file and asus output node would work by add sudo permission for Tinker Board 2.

    Please help to try and verify it. 

    Thank a lot!

     

    nrgpio.sh

    • Thanks 1

  3. Hi @Fu-.:

         Please reference the following information.

    About gpio readall says Pin#7(GPIO 😎 is GPIOB0, NOT CLKOUT.

    --> You need to modify the /boot/config.txt by the following to enable test_clkout2

         #intf:test_clkout2=off --> intf:test_clkout2=on

    ##### Hardware Interface Config #####
    
    ## Note: uart4 and spi1 are the same pins. Set the latter one while both on. ##
    
    intf:fiq_debugger=on
    #intf:uart0=off
    #intf:uart4=off
    intf:i2c6=on
    #intf:i2c7=off
    #intf:i2s0=off
    #intf:spdif=off
    #intf:spi1=off
    #intf:spi5=off
    #intf:pwm0=off
    #intf:pwm1=off
    #intf:pwm3a=off
    #intf:test_clkout2=off

  4. Hi @Charlie and @JulianR:

          The gpio_lib_c source path of TInker Board 2 locate /usr/local/share/gpio_lib_c_rk3399 in system.

    We have prebuild and install the library in release image. And, you can include it directly

    Did you have other requirements and need to rebuild the library?  

    Thank a lot!

×
×
  • Create New...