error: conflicting declaration 'int SCK'

Hi

I'm trying to use some sample code for controlling the emartee 16x16 LED matrix

but when I attempt to verify it the following error comes up

sketch_may13a:79: error: conflicting declaration 'int SCK'
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard/pins_arduino.h:43: error: 'SCK' has a previous declaration as 'const uint8_t SCK'

It seems I am using SCK twice but not sure how to fix this

?any suggestions

Chris

“SCK” is the standard name for the SPI Serial ClocK pin (Pin 13). You should choose a different name for your variable.

OK thanks
1 thing puzzled me was I didn't think I was including pin_arduino.h
or does the environment do this automatically?

groucho914:
I didn't think I was including pin_arduino.h or does the environment do this automatically?

It's automatic. Arduino.h is included automatically and that includes pin_arduino.h.