Main idea . Serial port interruptions are rare, so they should not affect the continuous cycle of the pressure regulator. Here is a piece of code with interruption from an incoming message, parsing of an incoming control line, and reading of an analog port.

History

Relay regulator. Set pressure = 1000 +/- 25 mV. default tip

2020-04-17, by Aleksk [Fri, 17 Apr 2020 09:35:30 +0000] rev 2

Relay regulator. Set pressure = 1000 +/- 25 mV.


Serial port interruptions are rare, so they should not affect the continuous cycle of the pressure regulator. Here is a piece of code with interruption from an incoming message, parsing of an incoming control line, and reading of an analog port.

2020-04-10, by Aleksk [Fri, 10 Apr 2020 18:06:38 +0000] rev 1

Serial port interruptions are rare, so they should not affect the continuous cycle of the pressure regulator. Here is a piece of code with interruption from an incoming message, parsing of an incoming control line, and reading of an analog port.


Parsing long string from serial port by interrupt (RTOS mbed os5)

2020-04-09, by Aleksk [Thu, 09 Apr 2020 22:38:58 +0000] rev 0

Parsing long string from serial port by interrupt (RTOS mbed os5)