So I posted the error log down below it's a program from school but I can't make it work and I'm very angry so i turned to forums for a solution i know the program works because at school i played with it but the version of Arduino was 1.8 if I'm not mistaken also thank you to everyone for reading this and for helping me in case of something i can also post the code here.
Arduino: 1.8.15 (Windows Store 1.8.49.0) (Windows 10), Board: "Arduino Uno"
In file included from c:\program files\windowsapps\arduinollc.arduinoide_1.8.49.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\avr\io.h:99:0,
from c:\program files\windowsapps\arduinollc.arduinoide_1.8.49.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\avr\pgmspace.h:90,
from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.49.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/Arduino.h:28,
from sketch\1010_TP_BANDEAU_WS2812B.ino.cpp:1:
1010_TP_BANDEAU_WS2812B:6:34: error: 'reinterpret_cast<volatile uint8_t* {aka volatile unsigned char*}>(37)' is not a constant expression
SSIN_WS2812B_2020T_STATIC<F16MHZ,_SFR_IO_ADDR(PORTB),_BV(PB0)> gRuban(NBLED); // atof nano V1
^
C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino:6:62: note: in template argument for type 'unsigned char'
SSIN_WS2812B_2020T_STATIC<F16MHZ,_SFR_IO_ADDR(PORTB),_BV(PB0)> gRuban(NBLED); // atof nano V1
^
C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_00()':
1010_TP_BANDEAU_WS2812B:16:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:19:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(0,0,16,0); // led 0 en vert puissance 16/255
^~~~~~
1010_TP_BANDEAU_WS2812B:20:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(2,1,0 ,0); // led 2 en rouge puissance 1/255
^~~~~~
1010_TP_BANDEAU_WS2812B:23:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_01()':
1010_TP_BANDEAU_WS2812B:32:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:36:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i,0,0,16); // led 0 en vert puissance 16/255
^~~~~~
1010_TP_BANDEAU_WS2812B:40:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_02()':
1010_TP_BANDEAU_WS2812B:50:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:51:8: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:54:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:58:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i,16,0,16); // led 0 en vert puissance 16/255
^~~~~~
1010_TP_BANDEAU_WS2812B:62:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_03()':
1010_TP_BANDEAU_WS2812B:71:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:78:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i,16,15,0); // led 0 en vert puissance 16/255
^~~~~~
1010_TP_BANDEAU_WS2812B:83:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_04()':
1010_TP_BANDEAU_WS2812B:93:11: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:94:11: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:97:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:101:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i,16,0,16);
^~~~~~
1010_TP_BANDEAU_WS2812B:102:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(j,0,0,2);
^~~~~~
1010_TP_BANDEAU_WS2812B:106:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_06()':
1010_TP_BANDEAU_WS2812B:118:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:119:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i,16,0,16);
^~~~~~
1010_TP_BANDEAU_WS2812B:120:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:127:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:128:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i,16,0,16);
^~~~~~
1010_TP_BANDEAU_WS2812B:129:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_07()':
1010_TP_BANDEAU_WS2812B:145:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:146:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i,16,0,16);
^~~~~~
1010_TP_BANDEAU_WS2812B:147:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(j,16,16,16);
^~~~~~
1010_TP_BANDEAU_WS2812B:148:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_08()':
1010_TP_BANDEAU_WS2812B:167:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:168:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i,0,0,16);
^~~~~~
1010_TP_BANDEAU_WS2812B:169:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i+1,16,16,16);
^~~~~~
1010_TP_BANDEAU_WS2812B:170:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i+2,16,0,0);
^~~~~~
1010_TP_BANDEAU_WS2812B:171:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_0special()':
1010_TP_BANDEAU_WS2812B:182:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:183:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:187:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:190:14: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:192:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i,16,0,16); // led 0 en vert puissance 16/255
^~~~~~
1010_TP_BANDEAU_WS2812B:193:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:198:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_09()':
1010_TP_BANDEAU_WS2812B:210:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:213:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i,r,0,0); // led 0 en vert puissance 16/255
^~~~~~
1010_TP_BANDEAU_WS2812B:218:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_10()':
1010_TP_BANDEAU_WS2812B:230:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:233:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i,0,r,0); // led 0 en vert puissance 16/255
^~~~~~
1010_TP_BANDEAU_WS2812B:238:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_09B()':
1010_TP_BANDEAU_WS2812B:251:14: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:254:21: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i,r,0,5);
^~~~~~
1010_TP_BANDEAU_WS2812B:256:14: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_10b()':
1010_TP_BANDEAU_WS2812B:275:14: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:279:21: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i,0,r,0);
^~~~~~
1010_TP_BANDEAU_WS2812B:281:14: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:289:14: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:293:21: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i,0,r,0);
^~~~~~
1010_TP_BANDEAU_WS2812B:296:14: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_0special3()':
1010_TP_BANDEAU_WS2812B:311:11: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:312:11: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:315:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:318:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i,r,0,0); // led 0 en vert puissance 16/255
^~~~~~
1010_TP_BANDEAU_WS2812B:320:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:323:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_0special2()':
1010_TP_BANDEAU_WS2812B:331:11: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:332:11: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:335:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:338:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i,16,0,16); // led 0 en vert puissance 16/255
^~~~~~
1010_TP_BANDEAU_WS2812B:340:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:343:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Alluments(int)':
1010_TP_BANDEAU_WS2812B:351:10: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:354:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i,0,0,lum); // led 0 en vert puissance 16/255
^~~~~~
1010_TP_BANDEAU_WS2812B:359:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_11()':
1010_TP_BANDEAU_WS2812B:398:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:403:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i,0,0,16);
^~~~~~
1010_TP_BANDEAU_WS2812B:407:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_12()':
1010_TP_BANDEAU_WS2812B:419:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'
gRuban.resetRuban();
^~~~~~~~~~
1010_TP_BANDEAU_WS2812B:426:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i,0,0,16);
^~~~~~
1010_TP_BANDEAU_WS2812B:432:15: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i,0,16,0);
^~~~~~
1010_TP_BANDEAU_WS2812B:438:17: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'
gRuban.setLed(i,16,0,0);
^~~~~~
1010_TP_BANDEAU_WS2812B:449:13: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'
gRuban.flushRuban();
^~~~~~~~~~
exit status 1
'reinterpret_cast<volatile uint8_t* {aka volatile unsigned char*}>(37)' is not a constant expression
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.