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.

Problem GPIO PH5

Featured Replies

Hello,

 

I get an error when i try to use the PH5 pin as digital output.

 

PH5 is the number 229 according to the following equation:  (8-1)*32+5 = 229

 

echo 229 > /sys/class/gpio/export

-bash: echo: write error: Device or resource busy 

 

If i use other pins like PH13, PH19, PH20 or PH21, all work correctly. For example, for PH13 as digital output:

echo 237 > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio237/direction
echo "1" > /sys/class/gpio/gpio237/value
echo "0" > /sys/class/gpio/gpio237/value
echo 237 > /sys/class/gpio/unexport

 

I get the same error in the Cubieboard2 and the Lime A20 board.

 

Can someone help me ?

Thanks in advance

 

 

 

 

  • Author

Thanks martinayotte for your answer. Yes, It seems this pin is being used. I will use another pin.

 

Thanks anyway

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.