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.

bananapi r2 pro gpio

Featured Replies

i want to use led on/off 7 pin (gpio 40 header) but it doesn’t work.

ssggpio.thumb.jpg.022623d35816827478efbc7645bd4c0c.jpg

IMG_20230818_204553_5282.thumb.jpg.c8c7148dd61158c96a1f2e4b00b890b5.jpg

Others work fine:

 

echo 20 > /sys/class/gpio/export
echo 23 > /sys/class/gpio/export
echo 40 > /sys/class/gpio/export
echo 42 > /sys/class/gpio/export

echo out > /sys/class/gpio/gpio20/direction
echo out > /sys/class/gpio/gpio23/direction
echo out > /sys/class/gpio/gpio40/direction
echo out > /sys/class/gpio/gpio42/direction

echo 1 > /sys/class/gpio/gpio20/value
echo 1 > /sys/class/gpio/gpio23/value
echo 1 > /sys/class/gpio/gpio40/value
echo 1 > /sys/class/gpio/gpio42/value

 

image.png.fa2df1caff01c02603c7d8d8450f6135.png

May be problem in pwm10

               pwm10 {

                    pwm10m0-pins {
                            rockchip,pins = <0x03 0x0d 0x05 0xab>;
                            phandle = <0x9d>;
                    };

                    pwm10m1-pins {
                            rockchip,pins = <0x02 0x01 0x02 0xab>;
                            phandle = <0x1f5>;
                    };

dts attached from firmware - https://www.armbian.com/bananapi-r2-pro/

r2pro.dts

Edited by Ace Space

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.