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.

how to use gpio library provided by asus t=without using sudo keyword

Featured Replies

hi ,

i am using the gpio library provided by asus tinker board to work with gpio on armbian os . i am having issue with running the python script without giving sudo cmd. is there any alternative to overcome giving sudo all the time while running gpio python script or any other alternate library to use with armbian

 

python add_event_callback.py 
can't open /dev/mem and /dev/gpiomem
wiringPiSetup: Unable to open /dev/mem and /dev/gpiomem: No such file or directory
Segmentation fault

 

  • Author
1 hour ago, Tido said:

how about the one provided by armbian ?

 

User Space IO is Python 3 and Java 8 bindings for user space GPIO, SPI, I2C, PWM and Serial interfaces

https://forum.armbian.com/topic/6523-user-space-io-is-python-3-and-java-8-bindings-for-user-space-gpio-spi-i2c-pwm-and-serial-interfaces/

 

hi , i am working with ROS which used python 2.7 . will the above library work with py 2.7 .

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.