Jump to content

i5Js

Members
  • Posts

    63
  • Joined

  • Last visited

Posts posted by i5Js

  1. Hello all, 

     

    I have this board and It's suffering crashes and reboots all day. I think  the logs are stored in RAM because I can't never find anything related to this issue. Is there anything I can do to find the cause?

     

    Many thanks.

     

    Regards.

  2. How can I figure out which is the pin of the fan on my nanopc t4? Because when I run the script I get the following:

     

    Traceback (most recent call last):
      File "test_fan.py", line 36, in <module>
        fan_rpm()
      File "test_fan.py", line 8, in fan_rpm
        with GPIO(70) as rpm_gpio:
      File "/home/i5Js/.local/lib/python2.7/site-packages/periphery/gpio.py", line 32, in new
        return SysfsGPIO.__new__(cls, *args)
    TypeError: __new__() takes exactly 3 arguments (2 given)

     

    Thanks.

  3. Hello all, 

     

    I've just bought my nanopc t4 and I'm trying to run the script but I got the following:

     

    echo 0 > /sys/class/pwm/pwmchip1/export  echo: write error: Device or resource busy

     

    then

     

    + sleep 1
    + '[' '!' -d /sys/class/pwm/pwmchip1/pwm0 ']'
    + sleep 1
    + '[' '!' -d /sys/class/pwm/pwmchip1/pwm0 ']'
    + sleep 1
    + '[' '!' -d /sys/class/pwm/pwmchip1/pwm0 ']'
    + sleep 1
     

     

    Can you help me?

     

    Many thanks.

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines