HELP WITH THE CODE!

Hi,
I am a beginner in Arduino programming, so I don't have much knowledge about this. Few months ago I decided to make a LED cube 8x8x8 from the creator Electronics Demon on YouTube. I finished it but can't make it work, because in the program, appears a red message saying that it's a warning. When I compile it, the LED cube isn't working.

I would like if someone could help me to solve this and tell me why it appears.

I'll show you the code below and the red message. Unfortunately, I can't show you the code here because it reaches more than 9000 characters, so I'll post the link of the code. But I can show you the red message here.

Here is the link of the code:

And here is the red message:

C:\Users\odor\Desktop\CODE_8x8x8\CODE_8x8x8.ino: In function 'void loop()':
C:\Users\odor\Desktop\CODE_8x8x8\CODE_8x8x8.ino:100:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
case TEXT: text("0123456789", 10); break;
^

That is just a warning, not an error. A clue is the fact that it is called a warning. This usually tries to point out where there could be problems but, in my experience, is often too strict.

The code should still load into the processor and will probably run ok.

If your code is under 10k in size, you can post it directly here using the "code" tags according to the instructions.

Alternatively you can attach it, but many reviewers here are less than keen to load an attachment or go to other sites to look at code. :astonished:

Please edit your first posting to correct the subject title. :roll_eyes:

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