SSYYL 3 tahun lalu
induk
melakukan
60ff8c214e
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  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']