Hello,
I am using tikercad.com and I would like to know how to write "const int" using Blocks
for example: const int greenLEDPin = 9;
I can only write"int" when I create a new Variable but I can't figure out how to add "const"
Thank you in advance!
Why don't you ask there? This is a forum for programming using the Arduino IDE. If we want to have a const byte we just write just that
And if that's what you want, why use blocks?
Blocks is meant as a very simple approach to programming. It's cool it can show the code. But I can understand why they kept it basic to keep it simple. And I think the idea is that once you get the basics of programming you leave Blocks behind and use the Arduino IDE to directly write C/C++.