hello everybody, I am very new to Arduino. I am using it to create a LED strobe, with two sets of LEDs. One of them is the FLASH set, with an adjustable frequency and intensity. The second with only adjustable intensity, without strobe(flashing).
Here is a code I wrote, it worked pretty well, but it crashes after the third loop. And adding too many variables uses way too much dynamic memory. Would you have any tip?
I found a program on a forum, wich has about the same intent. But I cannot understant a lot, if not most of it. As it uses way less dynamic memory, could anybody give me an advice to maybe inspire from it? (As it has similarities)
Regards
Programme_REF__intFLASH_TEST.ino (937 Bytes)
test_code_import__forum.ino (19.4 KB)