I'm adding Prop Shield APA102 code to this sketch : NXPMotionSense\examples\CalibrateSensors
When I put two functions above setup() the IDE stopped me saying it didn't know what: receiveCalibration() was.
I had to add a prototype to the sketch before it was called.
receiveCalibration();
This sketch normally works - until I added code - turns out to be the APA102 sample from the store page, and I renamed setup() to setup2() and loop() to loop2() and it failed to compile as noted.
I'm adding Prop Shield APA102 code to this sketch : NXPMotionSense\examples\CalibrateSensors
When I put two functions above setup() the IDE stopped me saying it didn't know what: receiveCalibration() was.
I had to add a prototype to the sketch before it was called.
This sketch normally works - until I added code - turns out to be the APA102 sample from the store page, and I renamed setup() to setup2() and loop() to loop2() and it failed to compile as noted.