A
Arduino•2mo ago
TheStudier

[ ] meaning in code?

So it seems like this can be used to write down a pattern or something. Also how come is this made an unsigned long even though its not that big of a number? const unsigned long blinkPattern[ ] = {100, 500, 700, 2000};
4 Replies
MaderDash
MaderDash•2mo ago
That is an array. And it could had been a int. But I would suspect its usage is to store larger numbers. You see the numbers there can be over written.
TheStudier
TheStudierOP•2mo ago
oh okay tnaks
MaderDash
MaderDash•2mo ago
Tag as answered and close please. šŸ˜‰
TheStudier
TheStudierOP•2mo ago
the code was from AI btw :> well... I am the Studier after all hahhah, Yeah the millis() is pretty hard for me to get a hang of, but maybe Im getting a little better at it. I'm wondering, what does upstream mean? hmm.. okay tysm

Did you find this page helpful?