|
|
|
@ -13,22 +13,12 @@ git clone https://gitlab.com/sayeth.rd/daq-serial-bbb/
|
|
|
|
|
|
|
|
|
|
### Utilization
|
|
|
|
|
|
|
|
|
|
To run this code and commincate with sensors, you first have to configure UARTs ports, configuring GPIOs as uart running the commands
|
|
|
|
|
To run this code and commincate with sensors, you first have to configure UARTs ports, configuring GPIOs as uart running the command
|
|
|
|
|
```
|
|
|
|
|
config-pin 9_24 uart
|
|
|
|
|
config-pin 9_26 uart
|
|
|
|
|
config-uart-pins.sh
|
|
|
|
|
```
|
|
|
|
|
to configure UART1 port
|
|
|
|
|
```
|
|
|
|
|
config-pin 9_21 uart
|
|
|
|
|
config-pin 9_22 uart
|
|
|
|
|
```
|
|
|
|
|
to configure UART2 port, and
|
|
|
|
|
```
|
|
|
|
|
config-pin 9_11 uart
|
|
|
|
|
config-pin 9_13 uart
|
|
|
|
|
```
|
|
|
|
|
to configure UART4 port.
|
|
|
|
|
this command will configure UART1, UART2 and UART4.
|
|
|
|
|
|
|
|
|
|
Then you can run the code wih this comand:
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|