frkn

Members
  • Posts

    3
  • Joined

  • Last visited

  1. Thank you for your answer. So, does this method have any differences compared to pigpio or npi-gpio? So like the speed of accessing the pins. Because when I did an experiment on the led, I was able to get a maximum 125 Hz square signal from a normal gpio output. Also, is there another library or method you can recommend? I would like to learn to research them too. Is it a difficult step to make it compatible by editing npi-gpio or another library?
  2. Also, when I connect the LED to 5V and GND on my fire 3 card, it does not work, but when I connect it to the power inputs and outputs on the uart part, the LED lights up.
  3. Hello everone. I'm new to embedded linux. To start with, I have nanopi fire 3 and smart 6818 cards, but I cannot access gpio pins with any gpio library. Why doesn't the NPi-GPIO library work with these cards? At first I was using the lubuntu version, I tried a lot there, but I couldn't. Now I'm trying to do something using armbian version 21.04. I'll post the problem I'm facing below. Thank you in advance for your help. Traceback (most recent call last): File "npigpio.py", line 1, in import NPi.GPIO as GPIO File "/usr/local/lib/python3.7/dist-packages/NPi.GPIO-0.5.8.6-py3.7-linux-aarch64.egg/NPi/GPIO/init.py", line 1, in from NPi._GPIO import * RuntimeError: Is not NanoPi based board.