Getting a value from a Struct Array ARDUINO
问题 I am having an issue retrieving the values stored in a Struct and have no idea why. I am working on the Arduino IDE 1.8.7 In h file // structure to hold each "display unit" settings typedef struct { int displayState; int pixelState[]; int startLed; // the first LED number EG: 8 if the previous display used 0-7 int endLed; int brightness; int saturation; } struct_displayType;` In setup // display[0] is all leds displayUnit[0].displayState=5; displayUnit[0].brightness=255; displayUnit[0]