add zero and berry
This commit is contained in:
parent
1a7244f81e
commit
162a4dec8e
17
README.rst
17
README.rst
@ -1,18 +1,17 @@
|
|||||||
Note
|
Note
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
wiringOP for Python
|
wiringPi for Python
|
||||||
===================
|
===================
|
||||||
|
|
||||||
wiringOP: An implementation of most of the Arduino Wiring functions for
|
wiringPi: An implementation of most of the Arduino Wiring functions for
|
||||||
the Orange Pi.
|
the Banana Pi.
|
||||||
|
|
||||||
Supported boards
|
Supported boards
|
||||||
===================
|
===================
|
||||||
tested on:
|
tested on:
|
||||||
``Orange Pi Zero2``
|
``Banana Pi M4 Berry``
|
||||||
``Orange Pi 3 LTS``
|
``Banana Pi M4 Zero``
|
||||||
``Orange Pi 4 LTS``
|
|
||||||
|
|
||||||
Manual Build
|
Manual Build
|
||||||
============
|
============
|
||||||
@ -22,8 +21,8 @@ Get/setup repo
|
|||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
git clone --recursive https://github.com/orangepi-xunlong/wiringOP-Python.git
|
git clone --recursive https://github.com/BigQubot/wiringPi-Python.git
|
||||||
cd wiringOP-Python
|
cd wiringPi-Python
|
||||||
|
|
||||||
Don't forget the --recursive; it is required to also pull in the WiringPi C code from its own repository.
|
Don't forget the --recursive; it is required to also pull in the WiringPi C code from its own repository.
|
||||||
|
|
||||||
@ -31,7 +30,7 @@ Prerequisites
|
|||||||
-------------
|
-------------
|
||||||
|
|
||||||
To rebuild the bindings you **must** first have installed ``swig``,
|
To rebuild the bindings you **must** first have installed ``swig``,
|
||||||
``python3-dev``, and ``python3-setuptools``. wiringOP should also be installed system-wide for access
|
``python3-dev``, and ``python3-setuptools``. wiringPi should also be installed system-wide for access
|
||||||
to the ``gpio`` tool.
|
to the ``gpio`` tool.
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|||||||
@ -294,7 +294,7 @@ def main():
|
|||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
#get time
|
#get time
|
||||||
yi[0] = full_string("++++OrangePi++++")
|
yi[0] = full_string("++++BananaPi++++")
|
||||||
#yi[1] = full_string(time.strftime("%m/%d %w"))
|
#yi[1] = full_string(time.strftime("%m/%d %w"))
|
||||||
yi[1] = full_string(time.strftime("%m/%d %a"))
|
yi[1] = full_string(time.strftime("%m/%d %a"))
|
||||||
yi[2] = full_string(time.strftime("%H:%M"))
|
yi[2] = full_string(time.strftime("%H:%M"))
|
||||||
Loading…
x
Reference in New Issue
Block a user