Sensor data sending and receiving via Queue

Hello,

I need to send and receive changing sensor data through queue, maybe someone have some basic examples, I am not really experienced?

Thank you.

Have you checked the API docs, examples in the download, and the free to download book?

Do you really need a queue, or you just want to send the sensor’s data? In the latter you might use messages buffers instead of queues.

I wrote an entry on the topic. Although it’s written in spanish you can follow the source codes (all names in the code are in english):

http://fjrg76.com/2021/03/28/comunicacion-inter-tareas-ii/#ejemplo-2-transfiere-un-valor-float-el-mensaje-se-crea-de-forma-estatica

For the same case, if you need to send integer values in a task-to-task fashion, then you should try the Direct to task notifications mechanism. I also write an entry on the topic:

http://fjrg76.com/2021/01/31/notificaciones_i/

Greetings!