Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

GPIO Mode on Orange PI PC

Featured Replies

Hello,

 

I'm running Armbian wiith Kernel 3.4.112-sun8i on an Orange PI PC.

In addition I compiled WiringOP patched for Orange PI to check GPIO.

 

I have connected a transmitter which communicates using SPI and an additional GPIO PIN to send interrupts. The device is not working yet and I try to find out the problem. It works fine with an Rasp.

 

For example, I'm a little bit confused about the following:

 

/sys/class/gpio/gpio5/direction

shows me "in"

 

"gpio readall" shows me:

| 18 | 1 | OUT  | GPIO.5   | 5   | 24  |

 

Of course, I could change the mode using the gpio command, but I would expect, that both values match?

 

Could it be too, that the interrupt is too short and not recognized?

I've read some threads here that GPIO access is slower than on a Rasp.

 

Thanks in advance :-)

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.