SSYYL 3 년 전
부모
커밋
60ff8c214e
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      RaspberryPi_JetsonNano/python/setup.py

+ 2 - 0
RaspberryPi_JetsonNano/python/setup.py

@@ -5,6 +5,8 @@ dependencies = ['Pillow']
 
 if os.path.exists('/sys/bus/platform/drivers/gpiomem-bcm2835'):
     dependencies += ['RPi.GPIO', 'spidev']
+elif os.path.exists('/sys/bus/platform/drivers/gpio-x3'):
+    dependencies += ['Hobot.GPIO', 'spidev']
 else:
     dependencies += ['Jetson.GPIO']