mirror of
https://github.com/lumapu/ahoy.git
synced 2025-04-28 17:56:21 +02:00
RPi: README.md format one new section
This commit is contained in:
parent
9a0bee831d
commit
57bc46191c
1 changed files with 20 additions and 20 deletions
|
@ -91,7 +91,7 @@ Please check first, if you have Debian 11 (bullseye) 64 bit operating system ins
|
|||
|
||||
There are 2 possible solutions to install the RF24 wrapper:
|
||||
|
||||
* `1. Solution:`
|
||||
**__1. Solution:__**
|
||||
```code
|
||||
sudo apt install cmake git python3-dev libboost-python-dev python3-pip python3-rpi.gpio
|
||||
|
||||
|
@ -106,18 +106,19 @@ cd RF24
|
|||
rm -rf build Makefile.inc
|
||||
./configure --driver=SPIDEV
|
||||
```
|
||||
# edit `Makefile.inc` with your prefered editor e.g. nano or vi
|
||||
- old:
|
||||
```code
|
||||
CPUFLAGS=-marm -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard
|
||||
CFLAGS=-marm -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -Ofast -Wall -pthread
|
||||
```
|
||||
- new:
|
||||
```code
|
||||
CPUFLAGS=
|
||||
CFLAGS=-Ofast -Wall -pthread
|
||||
```
|
||||
* continue with
|
||||
> _edit `Makefile.inc` with your prefered editor e.g. nano or vi_
|
||||
>
|
||||
> old:
|
||||
>```code
|
||||
> CPUFLAGS=-marm -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard
|
||||
> CFLAGS=-marm -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -Ofast -Wall -pthread
|
||||
>```
|
||||
> new:
|
||||
>```code
|
||||
> CPUFLAGS=
|
||||
> CFLAGS=-Ofast -Wall -pthread
|
||||
>```
|
||||
_continue now_
|
||||
```code
|
||||
make
|
||||
sudo make install
|
||||
|
@ -130,7 +131,7 @@ python3 -m pip list #watch for RF24 module - if its there its installed
|
|||
```
|
||||
|
||||
|
||||
* `2. Solution:`
|
||||
**__2. Solution:__**
|
||||
```code
|
||||
sudo apt install git python3-dev libboost-python-dev python3-pip python3-rpi.gpio
|
||||
|
||||
|
@ -139,11 +140,10 @@ cd pyRF24
|
|||
python3 -m pip install . -v # this step takes about 5 minutes on my RPI-4 !
|
||||
```
|
||||
|
||||
If you have problems with your radio module from ahoi,
|
||||
e.g.: cannot interpret received data,
|
||||
please try to reduce the speed of the radio module!
|
||||
Add the following line to your ahoy.yml configuration file in "nrf" section:
|
||||
* `spispeed: 600000`
|
||||
If you have problems with your radio module from ahoi, e.g.: cannot interpret received data,
|
||||
please try to reduce the speed of your radio module!
|
||||
Add the following parameter to your ahoy.yml configuration file in "nrf" section:
|
||||
`spispeed: 600000` (0.6 MHz)
|
||||
|
||||
|
||||
|
||||
|
@ -247,7 +247,7 @@ Todo
|
|||
- Ability to talk to multiple inverters
|
||||
- MQTT gateway
|
||||
- understand channel hopping
|
||||
- configurable polling interval
|
||||
- ~~configurable polling interval~~ done: interval ist configurable in ahoy.yml
|
||||
- commands
|
||||
- picture of setup!
|
||||
- python module
|
||||
|
|
Loading…
Add table
Reference in a new issue