Hi All,
I am getting the following error in Visual Studio Community Edition with a Sketch someone else has written. There are only a couple of posts about this and Visual Micro, none of which apply.
"A value of type X cannot be assigned to an Entity of type X"
These are the Enum variables listed.
// ******************* Pack Status / State Arrays ******************* //
enum PackState { OFF, BOOTING, BOOTED, POWERDOWN };
enum PackState STATUS;
enum WandState { WANDOFF, ON, ON_PACK };
enum WandState WANDSTATUS;
enum WandSLEDState { ALLOFF, WANDONLY, NORMAL, FIRING, WARNING, FASTWARNING, VENTSTATE, STREAMCROSS };
enum WandSLEDState WANDLEDSTATUS;
enum PackTheme { MOVIE, STASIS, SLIME, MESON, CHRISTMAS };
enum PackTheme THEME;
The sketch still compiles and all works, its just annoying as I have the red marks throughout the sketch which makes it difficult to drill down on actual errors.
Thanks.