thank you, sir.
I have 4 blades and I’m not sure of the proper order in the config, amongst other issues, it seems:
I’ve wired the saber like this:
blade1 - main blade
blade2 - 2 crystal chamber pixels (mimic main blade)
blade3 - 1 accent pixel (pulse)
blade4 - 2 accent pixels (blinkys)
ani_config.h (2.0 KB)
In file included from C:\Users\gunn3\OneDrive\Desktop\ProffieOS\ProffieOS.ino:621:
C:\Users\gunn3\OneDrive\Desktop\ProffieOS\config\ani_config.h:28:46: error: cannot convert 'const char*' to 'StyleFactory*' in initialization
28 | StyleNormalPtr<CYAN, WHITE, 300, 800>(), "cyan"},
| ^~~~~~
| |
| const char*
C:\Users\gunn3\OneDrive\Desktop\ProffieOS\config\ani_config.h:33:46: error: cannot convert 'const char*' to 'StyleFactory*' in initialization
33 | StyleNormalPtr<CYAN, WHITE, 300, 800>(), "cyan"},
| ^~~~~~
| |
| const char*
C:\Users\gunn3\OneDrive\Desktop\ProffieOS\config\ani_config.h:35:76: error: cannot convert 'StyleFactory*' to 'const char*' in initialization
35 | StylePtr<Pulsing<Black,Pulsing<Black,Pulsing<Black,White,2500>,2500>,2500>>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| StyleFactory*
C:\Users\gunn3\OneDrive\Desktop\ProffieOS\config\ani_config.h:44:121: error: cannot convert 'StyleFactory*' to 'const char*' in initialization
38 | StylePtr<Layers<
| ~~~~~~~~~~~~~~~~
39 | Black,
| ~~~~~~
40 | AlphaL<Blinking<Black,Red,1500,500>,LinearSectionF<Int<0>,Int<32768>>>,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41 | AlphaL<Green,LinearSectionF<Int<32768>,Int<32768>>>,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
42 | InOutTrL<TrInstant,TrInstant,Layers<
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
43 | Sequence<Red,Black,200,30,0b0,0b10101010101000>,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44 | AlphaL<Sequence<Green,Black,200,30,0b1010101010101010,0b1000000000000000>,LinearSectionF<Int<32768>,Int<32768>>>>>>>(), "green"},
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| StyleFactory*
C:\Users\gunn3\OneDrive\Desktop\ProffieOS\config\ani_config.h:44:125: error: cannot convert 'const char*' to 'StyleFactory*' in initialization
44 | AlphaL<Sequence<Green,Black,200,30,0b1010101010101010,0b1000000000000000>,LinearSectionF<Int<32768>,Int<32768>>>>>>>(), "green"},
| ^~~~~~~
| |
| const char*
In file included from C:\Users\gunn3\OneDrive\Desktop\ProffieOS\ProffieOS.ino:621:
C:\Users\gunn3\OneDrive\Desktop\ProffieOS\config\ani_config.h:47:5: error: expected unqualified-id before '{' token
47 | { "CaveScene", "font/font.wav",
| ^
C:\Users\gunn3\OneDrive\Desktop\ProffieOS\config\ani_config.h:51:1: error: expected declaration before '}' token
51 | };
| ^
C:\Users\gunn3\OneDrive\Desktop\ProffieOS\config\ani_config.h:55:43: error: 'PowerPINS1' was not declared in this scope; did you mean 'PowerPINS'?
55 | WS281XBladePtr<1, blade3Pin, Color8::GRB, PowerPINS1> >(),
| ^~~~~~~~~~
| PowerPINS
C:\Users\gunn3\OneDrive\Desktop\ProffieOS\config\ani_config.h:55:57: error: expected primary-expression before ')' token
55 | WS281XBladePtr<1, blade3Pin, Color8::GRB, PowerPINS1> >(),
| ^
C:\Users\gunn3\OneDrive\Desktop\ProffieOS\config\ani_config.h:56:43: error: 'PowerPINS6' was not declared in this scope; did you mean 'PowerPINS'?
56 | WS281XBladePtr<2, blade4Pin, Color8::GRB, PowerPINS6> >(),
| ^~~~~~~~~~
| PowerPINS
C:\Users\gunn3\OneDrive\Desktop\ProffieOS\config\ani_config.h:56:57: error: expected primary-expression before ')' token
56 | WS281XBladePtr<2, blade4Pin, Color8::GRB, PowerPINS6> >(),
| ^
C:\Users\gunn3\OneDrive\Desktop\ProffieOS\config\ani_config.h:57:3: error: expected primary-expression before ',' token
57 | , CONFIGARRAY(presets) },
| ^
exit status 1
Compilation error: cannot convert 'const char*' to 'StyleFactory*' in initialization