# Help to put 3 codes together!

**URL:** <https://forum.arduino.cc/t/help-to-put-3-codes-together/691902>\
**Category:** Programming\
**Created:** [January 18, 2021, 9:04pm UTC](https://forum.arduino.cc/t/help-to-put-3-codes-together/691902 "2021-01-18T21:04:41Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![StefanL38](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/stefanl38/32/713548_2.png) [@StefanL38](https://forum.arduino.cc/u/StefanL38)\
**Post date:** [January 21, 2021, 6:36am UTC](https://forum.arduino.cc/t/help-to-put-3-codes-together/691902/21 "2021-01-21T06:36:23Z")

</div>

```cpp
    display.drawCircle(xo, y + 2, 2, WHITE); // print degree symbols ( )
    display.setCursor(xunit, y);
    display.print(unit);
    { // <==== what is the purpose of this opening bracket???
      long irValue = particleSensor.getIR(); //Reading the IR value it will permit us to know if there's a finger on the sensor or not
      //Also detecting a heartbeat
      if (irValue > 7000) { //If a finger is detected
        //Clear the display

```

\*\*line 92: \*\ ***{ // \<==== what is the purpose of this opening bracket???**  
best regards Stefan

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 21, 2021, 6:37am UTC](https://forum.arduino.cc/t/help-to-put-3-codes-together/691902/22 "2021-05-21T06:37:11Z")

</div>

Closed on May 21, 2021, 6:37am UTC

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.

[Previous page](https://forum.arduino.cc/t/help-to-put-3-codes-together/691902.md?page=1)
