cancel
Showing results for 
Search instead for 
Did you mean: 

How can I activate the constant pressure delivery by the UART in STEVAL FCU001V1?

Bolos Ferrandis
Associate II

3 REPLIES 3
S.Ma
Principal

As the borg(s) says: Please elaborate.

Bolos Ferrandis
Associate II

I own a PCB STEVAL-FCU001V1 and I have a question about it. How to activate the pressure sensor. I want the drone to constantly send pressure through the UART. If I activate the PRINTF that I attached in the image, I get an error saying that the variable is not declared. I have activated the pressure sensor and the magnetrometer in config_drone.h, as attached in the second photo.0690X000006CyBvQAK.png

0690X000006CyC0QAK.png

S.Ma
Principal

Find in file PRINTF and check if this function is valid and included in the corresponding .h header file.

The function is not precompiled. Find where it is defined, referenced and which header file to include in the corresponding C file. If the function is static, remove the static.

I would strongly advise using floats in the conversion.

Just convert your pressure in milibars or hectopascals and send it as integers.

I usually send pressure_mb_x10 which is the pressure in 0.1 milibar step. 10803 = 1080.3 milibar.

This is more effective and easy to debug/view the variable.

Can't tell more as I don't use this eval board.