PaulStoffregen / NXPMotionSense

NXP Motion Sensors for Teensy and Arduino
69 stars 51 forks source link

undefined :: void receiveCalibration() #1

Closed Defragster closed 8 years ago

Defragster commented 8 years ago

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.