lsmod Posted September 10, 2018 Author Posted September 10, 2018 Yes - it's clear that WiringPi is not needed for I2C. I added the PC2 board to ArmbianIO:
montana Posted February 9, 2019 Posted February 9, 2019 (edited) Good day!!!!! Forgive me for my bad english. I really need your help. I have orangepi PC2. For a very long time I have been searching the Internet for a working version of WiringPi or WiringOP, but unfortunately I can’t find a working version. I tried many installation examples, but the result is not very pleasant. I also have Orangepi one, everything works well on this device. On the OrangePi PC2 device, I just can’t overcome the problem of working with GPIO. When installing, Wiring PI or WiringOp constantly pops up errors. ((((Some examples work in half, there is no GPIO> PIN ..... I find it very difficult for you to properly explain what is wrong with the device. In other words, I can't use full I tried many installation examples, but the result is not very pleasant. I also have Orangepi one, everything works well on this device. On the OrangePi PC2 device, I just can’t overcome the problem of working with GPIO. When installing, Wiring PI or WiringOp constantly pops up errors. (((( Some examples work in half, there is no GPIO> PIN ..... I find it very difficult for you to properly explain what is wrong with the device. In other words, I can't use full GPIO. In all versions one and the same error, I can not use all GPIO, some of them do not work at all. At the command: sudo gpio readall the system shows me a table, in theory everything should work. and turn off the light bulb), and some do not even respond, and do not Appearing in / sys / bus / gpio / devices. Judging by the tests, I can only use wPi: 1,3,4,5,7,11. Some people write: undefined. Some simply do not respond. I could use much more on OrangePi One GPIO (PIN), such as (wPi): 21,22,23,24,25,3,7,1,4,5,11,27,28,29. (((((((((Very I ask to help me solve this problem. I’m new to this all, it’s very difficult to figure it out, but I don’t speak much English. I would be very grateful for any help in solving this problem. The system is installed: Spoiler Distributor ID: Ubuntu Description: Ubuntu 04.04.1 LTS Release: 18.04 Codename: bionic BOARD = orangepipc2 BOARD_NAME = "Orange Pi PC2" BOARDFAMILY = sun50iw2 VERSION = 5.69 LINUXFAMILY = sunxi64 BRANCH = next ARCH = arm64 IMAGE_TYPE = stable BOARD_TYPE = conf INITRD_ARCH = arm64 KERNEL_IMAGE_TYPE = Image IMAGE_UUID = a5ba05b8-4b9f-4f67-8b71-ee3c9a5899d1 # PLEASE DO NOT EDIT THIS FILE BOARD = orangepipc2 BOARD_NAME = "Orange Pi PC2" BOARDFAMILY = sun50iw2 VERSION = 5.73 LINUXFAMILY = sunxi64 BRANCH = next ARCH = arm64 IMAGE_TYPE = stable BOARD_TYPE = conf INITRD_ARCH = arm64 KERNEL_IMAGE_TYPE = Image DISTRIB_ID = Ubuntu DISTRIB_RELEASE = 18.04 DISTRIB_CODENAME = bionic DISTRIB_DESCRIPTION = "Ubuntu 18.04.1 LTS" NAME = "Ubuntu" VERSION = "04/18/1 LTS (Bionic Beaver)" Id = ubuntu ID_LIKE = debian PRETTY_NAME = "Ubuntu 04/18/1 LTS" VERSION_ID = "18.04" HOME_URL = "https://www.ubuntu.com/" SUPPORT_URL = "https://help.ubuntu.com/" BUG_REPORT_URL = "https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL = "https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME = bionic UBUNTU_CODENAME = bionic Edited February 10, 2019 by Tido added spoiler.. shorted quote - please add a spoiler nexttime yourself, thx
martinayotte Posted February 9, 2019 Posted February 9, 2019 You can try other kind of libraries, such as https://github.com/duxingkei33/orangepi_PC_gpio_pyH3 Be aware that you will need to tweak this one to make it 64 bits compatible, since H5 is 64 bits, as explained here:
Recommended Posts