Issues using the color sensor

Hello !

I’m trying to use the NXT Color sensor using the BricktronicsColor’s librarie, i’m following the instruction of the BricktronicsColor/ColorDebounce code you made but it’s written that data pin should be connected to an analog pin. However it didn’t work event when I code this

// Config 3 - arduino:avr:uno
BricktronicsColor c(8, A3);
// Config end

May you help me ?

Sorry for my poor English,
Maxime

Hi Anno, thanks for the message!

Can you post your entire sketch, all the code? That would help troubleshoot.

What are the hardware wiring connections?

What Bricktronics hardware are you using? The Bricktronics Shield or Megashield? Or the breakout board?