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.

Java Periphery released!

Featured Replies

Java Periphery has finally been released! Java Periphery is a high performance library for GPIO, LED, PWM, SPI, I2C, MMIO and Serial peripheral I/O interface access in userspace Linux. This will replace User Space IO. I'm seeing GPIO write speeds of 500K/s from userspace. Compared to User Space IO and libgopid speeds of 2K/s. I switched from JNA wrapper generation to JNI wrapper generation. The build process is much simpler (only single install.sh) and building libgpiod is no longer required. The API follows c-periphery, python-periphery and lua-periphery. This should cover the widest array of SBCs and languages around.

 

Java Periphery should work on Armbian/Ubuntu/Debian, but also other non-Armbian distributions. If you run into issues please use Github issues to report.

 

Nano Pi Duo

13:30:43.065 [main] INFO  com.codeferm.periphery.demo.GpioPerf - Running write test with 10000000 samples
13:31:23.062 [main] INFO  com.codeferm.periphery.demo.GpioPerf - 500613.25 writes per second
13:31:23.065 [main] INFO  com.codeferm.periphery.demo.GpioPerf - Running read test with 10000000 samples
13:31:54.471 [main] INFO  com.codeferm.periphery.demo.GpioPerf - 318440.91 reads per second

Nano Pi Neo Plus 2

15:06:51.946 [main] INFO  com.codeferm.periphery.demo.GpioPerf - Running write test with 10000000 samples
15:07:22.522 [main] INFO  com.codeferm.periphery.demo.GpioPerf - 654964.63 writes per second
15:07:22.524 [main] INFO  com.codeferm.periphery.demo.GpioPerf - Running read test with 10000000 samples
15:07:46.696 [main] INFO  com.codeferm.periphery.demo.GpioPerf - 413770.27 reads per second

 

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.