|
2 | 2 |
|
3 | 3 | ReactiveArduino implements observable-observer pattern on a processor like Arduino. The purpose is to provide declarative programming approach, within the capacity constraints of a low-power MCU. |
4 | 4 |
|
5 | | -ReactiveArduino is heavly based on [ReactiveX](http://reactivex.io/) and [ReactiveUI](https://reactiveui.net/), adapted to the needs and limitations in a MCU. |
| 5 | +ReactiveArduino is heavily based on [ReactiveX](http://reactivex.io/) and [ReactiveUI](https://reactiveui.net/), adapted to the needs and limitations in a MCU. |
6 | 6 |
|
7 | 7 | ## Instructions for use |
8 | 8 | The general use of ReactiveArduino consists of: |
@@ -51,13 +51,13 @@ Hot observables emits the sequence when an observer subscribes to it. For exampl |
51 | 51 | ```c++ |
52 | 52 | FromArray(values, valuesLength) |
53 | 53 | ``` |
54 | | -Cold observable does not emits any item when a observer suscribes to it. You have to explicitly call the `Next()` method whenever you want. For example, `FromArrayDefer(...)` |
| 54 | +Cold observable does not emits any item when a observer subscribes to it. You have to explicitly call the `Next()` method whenever you want. For example, `FromArrayDefer(...)` |
55 | 55 | ```c++ |
56 | 56 | FromArrayDefer(values, valuesLength) |
57 | 57 | ``` |
58 | 58 | ### Dynamic memory considerations |
59 | | -On many occasions we generate operators directly when we chain them, for example in the `Setup()`. However, creating an operator allocates dynamic memory. Therefore, you should avoid creating them in `Loop()`, or you coul run out of memory. |
60 | | -If you need to reuse (tipically, call some operator method later in your code) set it as a global variable, and chain as normal. |
| 59 | +On many occasions we generate operators directly when we chain them, for example in the `Setup()`. However, creating an operator allocates dynamic memory. Therefore, you should avoid creating them in `Loop()`, or you could run out of memory. |
| 60 | +If you need to reuse (typically, call some operator method later in your code) set it as a global variable, and chain as normal. |
61 | 61 | ```c++ |
62 | 62 | auto counter = Count<int>(); |
63 | 63 | ... |
|
0 commit comments