Hi to you all.
Im currently shrinking a old project, (A color sensor connected to Arduino, when recognize a certain colour, opens a relay)
The device works well on a regular Arduino Uno, but as I mentioned I like to shrink it, to step up to some Arduino Pro Mini.
The program uses the fabulous GitHub - MajicDesigns/MD_TCS230: TCS230 TCS3200 RGB Color Sensor Library
A very nice color sensing library, since the color sensor output a frequency for the data, the above library it uses;
This one from Teensy.
Or if you like you can look at GitHub
Know, the library only can read the DP5, On the Arduino Uno since this is the “Timmer 1” or T1
(I get this from here.)
Know On the oficial Arduino Page the DP5 is in deed Timmer 1: Here !
But in the Arduino Pro Micro AtMega 32u4:
The datasheet says the T1 is pin 26 of the uC: http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7766-8-bit-AVR-ATmega16U4-32U4_Datasheet.pdf
And following the Schematics: the pin 26 of the uC it is the Digital Pin 6 on the Arduino Pro Mini:
So theoretically it must work on the Arduino Pro Micro, but on This post , the actual creator of the library says to me the "Pin 5 is har-coded on the library).
So the question is; Its is necessary to edit the library if it, how?
Or it automatically directs to any Timmer 1, of the processor ?
Thanks in advance.