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.

callback function on NanoPi M4

Featured Replies

Hi,

I need to use callback function in Python3 on my NanoPi M4 but I can't,

so it is very nice if anyone can help me with this issue.

 

 

So far I've tried the function with wiringpi as shown command bellow

Quote

wiringpi.wiringPiISR(PIN_TO_SENSE, wiringpi.GPIO.INT_EDGE_BOTH, gpio_callback)

but this doesn't work at all,

that generates some errors and after that my command in /usr/bin/ doesn't work ....

 

I can use other functions in wirignpi so guess something is wrong with only this function...

Is there any way to use callback function with NanoPi M4, for example using other modules or something

 

Thank you,

 

 

 

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.