# Need help understanding why code works only a certain way

**URL:** <https://forum.arduino.cc/t/need-help-understanding-why-code-works-only-a-certain-way/1057346>\
**Category:** Programming\
**Created:** [November 23, 2022, 11:56pm UTC](https://forum.arduino.cc/t/need-help-understanding-why-code-works-only-a-certain-way/1057346 "2022-11-23T23:56:18Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![frost\_10](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@frost\_10](https://forum.arduino.cc/u/frost_10)\
**Post date:** [December 3, 2022, 10:25pm UTC](https://forum.arduino.cc/t/need-help-understanding-why-code-works-only-a-certain-way/1057346/16 "2022-12-03T22:25:55Z")

</div>

![WIN_20221203_16_18_53_Pro](https://europe1.discourse-cdn.com/arduino/original/4X/2/2/1/221361c36e4ddaae58fda254b26fb98bf6c02d63.jpeg)

I did no planning before playing with the Arduino. This was the simpliest example of a time diagram I saw online and should work for this sketch.

---

_[View the full topic](https://forum.arduino.cc/t/need-help-understanding-why-code-works-only-a-certain-way/1057346)._
