Cloud Peng

  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

505 profile views

Cloud Peng's Achievements

  1. kernel: "Linux orangepizero 4.13.16-sunxi #20 SMP Fri Nov 24 19:50:07 CET 2017 armv7l armv7l armv7l GNU/Linux". I have tried this document, I am using pin 7 (GPIO 6) and INPUT mode, but it not working, however I got push signal, but I have not push it, why? The following is my python code. import OPi.GPIO as GPIO import time channel = 7 GPIO.setmode(GPIO.BOARD) GPIO.setup(7, GPIO.IN) while True: time.sleep(0.5) print GPIO.input(channel)
  2. I am orange pi zero (H2+, 26 pin gpio), it as same as other ?
  3. I could not found pwm folder in the "/sys/class". so, how to enable pwm in orange pi zero?