Power & Source of Big Ideas

I'm still learnign github.
I have two brand new Class 4 (GoodRAM) 8GB cards. Let you know tomorrow, will unpack one and test.
In the evening (GMT+2) I will update readme.md to make it clearer about pin mapping. This information are essential for new users.
I've update install.txt please review and merge if you find it usefull. Readme.md is a little confusing it says about Raspberry Pi release.
I have one question. I use Welcome to ARMBIAN 5.36 user-built Ubuntu 16.04.3 LTS 3.4.113-sun8i and tried to find USB port and other interfaces devices. But .... they are not present under system and hardware module does not exist? Why? What is replacement? Or all interfaces are enabled by default?
Compiling own kernel is not a big problem but it is not worth to shoot with a canon to the bird. Writing a driver is beyond my capabilities.

So I have to play with suid bit.
I received szymon@rfid_teachers:~$ strace ./led_board.py execve("./led_board.py", ["./led_board.py"], [/* 22 vars */]) = 0 brk(NULL) = 0x106f000 uname({sysname="Linux", nodename="rfid_teachers", ...}) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOEN...
I will try tu update readme.md. Permission to /dev/mem looks like: crw-r----- 1 root kmem 1, 1 Jan 11 09:17 /dev/mem so I allowed kmem to write into device: chmod g+w /dev/mem I moved myself into kmem group with sudo usermod -a -G kmem szymon loged out and logged in again. Id says I'm in kmem group ...
Do you have any idea how to make this code work without sudo?
Thank you very much. I really appreciate your help. Like you noticed there were a mistake in my code. I used BCM instead of BOARD. Now the code works ok! I can make progress with my project!

I think that you should include this informations in readme.md inside git repository.
Ok, I set up board and want to light up led on pin GPIO.1 +-----+-----+----------+------+---+-NanoPI M1+---+------+----------+-----+-----+ | H3 | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | H3 | +-----+-----+----------+------+---+----++----+---+------+----------+-----+-----+ | | | 3.3...
Could anyone explain me what is pin order in BCM and Board mode? How to compare it to

Code: Select all

gpio readall 
results?
This is weird now I don't have any errors?!
I'm using armbian image. I cloned RPi.GPIO_NP and made python3 setup.py install Installation log: running install running build running build_py creating build creating build/lib.linux-armv7l-3.5 creating build/lib.linux-armv7l-3.5/RPi copying RPi/__init__.py -> build/lib.linux-armv7l-3.5/RPi creati...
Anybody using rPi.gpio library?
At the moment I switched to system("gpio write 7 1")
But it is going to make me a lot of problem as my project improve. It is not flexible at all i have chosen FriendlyElec as it was stated that basic support to gpio is compatible with rPi.
Hello I've run led.py test and ended up with: Traceback (most recent call last): File "./led.py", line 2, in <module> import RPi.GPIO as GPIO File "/usr/local/lib/python3.5/dist-packages/RPi/GPIO/__init__.py", line 23, in <module> from RPi._GPIO import * RuntimeError: This module...