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.

Orange Pi Zero Plus-WiringPi modified version works

Featured Replies

 I compared two boards (opi zero h3 and opi zero plus  h5) and found that  cpu pins for 26 gpio are the same .

so I modify the code in wiringPi  about cpu detection to force return true value .

and it works.

 

the step:

1. git clone https://github.com/xpertsavenue/WiringOP-Zero

2. modify the code in  WiringOP-Zero/wiringPi/wiringPi.c  (or using the  attached file to replace)。

3. make  && make install

4.  run "gpio readall "  to test

5.  run "gpio write 30 1"    (the red-led on, wiringpi pin 30 control red-led status).

 

 

wiringPi.c

Hello,

 

I used the wiringPi.c above, and

 

from make I get some error:

root@orangepizeroplus:/home/pi/WiringOP-Zero# make


ds1302.c:30:10: fatal error: wiringPi.h: No such file or directory
 #include <wiringPi.h>
          ^~~~~~~~~~~~
compilation terminated.
Makefile:67: recipe for target 'ds1302.o' failed
make[1]: *** [ds1302.o] Error 1

instead of "make and make install"  I use:

 

chmod +x ./build
sudo ./build

this finish without an error

 

and the gpio`s are working well

 

thanks greetings

 

 

 

 

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.