Questions tagged [threads]

Threads are different processes that a device runs at once. Unless it has multiple cores, it has to switch between the threads to ensure that all the threads get ran.

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
188 views

Receiving and transmitting messages simultaneously

tldr; I am writing a mesh network software using arduinos. I need to wirelessly receive, process, and transmit data, all simultaneously. I am aware of protothreads library, and the other software ...
0
votes
0answers
126 views

Can the Arduino Pro (Portenta H7) communicate between threads?

I have an application that runs a stepper motor from an Arduino board. This requires use of the delayMicroseconds(int us) to control the speed at which the motor turns. For this reason, all code ...
0
votes
0answers
43 views

Bluetooth multithreading

I'm using my Arduino to make a speaker-like device. Instead of sound, it receives the beat of the song, thus the data comes in an array of floats. Each item in the array is a timestamp, an LED is ...
0
votes
0answers
31 views

FreeRTOS single thread vs Function call

Good day to everyone, I am currently working on project using ATmega2560. I want to use threading, that is why I decided to use FreeRTOS. However, I cannot make one thread to work fine, so that I ...
0
votes
1answer
127 views

Can we call GPRS HTTP request asynchronously in Arduino?

Usually GPRS modules (SIM800,900, A6, etc) that used with arduino are called in synchronous way in HTTP (GET/POST) request. It takes more than 10 seconds in most times and this makes the system very ...
0
votes
0answers
42 views

Capacitive Sensor and Thread

Looking for a great way to detect when someone touches thread, or if 4 people touch thread etc. I'm not looking for a hand count, but I'm going to try to translate it into MIDI for use in a project. ...