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.

Using Board built for RPi on OPi

Featured Replies

I am trying to use an Iono Pi Board from SFERA Labs on an OrangePI PC Plus.

https://www.sferalabs.cc/product/iono-pi-board/

 

I was able to get i2C working so that I could connect to some devices like a temp sensor and accelerometer.

 

My issue is pretty basic at this point.  I am simply trying to blink the green light on the board.  According to docs, the onboard LED is connected to GPIO7. So through looking at documentation I was able to decipher that GPIO7 is physical pin 7 on an RPi.  

 

I am using pyA20.gpio.  Accordingly Pin 7 = PA6.  However when I set PA6 high the light does not come on.  Am I missing something?  Anyone have experience in altering python for RPi to OPi??

Pin7 or GPIO7? these are two different pins... ;) GPIO 7 should be PA21 and Pin7 (GPIO4) should be PA6. RPi's GPIO naming isn't similar to the pin header. 

mapping_small.thumb.png.4b17fe118586840c19c212358a412f6a.png

Anyway, if you want RPi's pinnames back you could test pyGPIO. It's basically pyA20 but pinnames are similar to RPi userland, which makes it easy to wrap code from RPi to H3 boards (and @TonyMac32 will say once again that I shamelessly promote once again my fork of the pyA20 lib... :D ).  

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.