Page 1 of 1

Python and GPIO supports?

Posted: Wed Jul 13, 2016 5:29 am
by liudr
Hi,

I'm new here. What I am used to is raspberry pi. But the small size and headers of NanoPi NEO brought me here. I have not ordered one yet but will do so after finding out some answers.

So with the UbuntuCore, do I get python 3.4 and any support of GPIO via python? Where do I find a list of installed packages? I know this is new product but if you say XXX aspect of NEO is same as another product YYY, that will be good enough. I want to place the NEO on a custom board and especially like the fact that it has USB ports and audio in/out on headers. I'd like to add wifi, bluetooth, and maybe SPI displays etc via usb ports. How much support am I expecting?

Thanks.

Re: Python and GPIO supports?

Posted: Fri Jul 15, 2016 7:47 am
by FATechsupport
Hi thank you very much for your interest and attention to our boards
Currently we are still working on some projects for NEO I would suggest you check our wiki for NEO once in a while. Whenever we have any update we will update our wiki

http://wiki.friendlyarm.com/wiki/index.php/NanoPi_NEO

Re: Python and GPIO supports?

Posted: Tue Jul 19, 2016 3:34 pm
by Waz
For utterly simple GPIO access I'm using the following python command

Code: Select all

import os
os.system('echo 1 > /sys/class/gpio_sw/PA14/data')
>> set GPIO14 to 1 (HIGH)

... maybe something useful ?