Thanks to MajsterXXL for the radio heart.
/ Encoder:
Set up for my big scoop.
1. 1 pos SW - switching between Player/Radio. Compare remote control buttons for IR in data/IRcodes.h. Attached original with description.
2. 1 pos. twist - station/folder selection.
3. 2 pos. after 1.2s holding SW - volume. (Doesn't matter if 20, 21, always range 0-100%, here jet 5 with 20 as default. I will put the gain on full anyway)
4. 3 pos. after 2s holding SW - Off/On. Compare remote control buttons for IR in data/IRcodes. Attached original with description.
Colours can be selected in the colours.txt file. By deleting the colors.txt file or renaming it, the radio enters the colours contained in the program code.
//
VUmeters (the analyser) has a vu.txt file on the SD card, in which 7 vumeters can be selected by specifying their numbers from 0 to 6.
the //
Weather is set to ORE, can be easily adjusted in the program code by changing, line about 939, to:
?latitude=50.25&longitude=18.85.
There must be 4 digits and a dot in the middle. Here it is set to 50.25 and 18.85, check on Google maps what the latitude and longitude is for you. Round up to this format.
//
Pins:
Pin #1 added - on/off. It is 1 when started, 0 when switched off. The rest of the pins are as they were. It is switched on with the encoder as On/Off, from the IR remote control the code "rcCmdOff". From the remote control only off, the return does not need, because there will be a mechanism to switch on the whole device with the radioplayer. This code will receive another device, depending on how it is set, the corresponding configuration will switch on.
//
IR pins described in data/IRcodes.h
//
Library arduinoFFT added. (someone asked)
//
This is not the end of this radio for me, it will be expanded with more segments according to my needs and assumptions.
Improvements welcome. I don't limit the work of MajstraXXL to dissemination, but I don't want mine to get tangled up on FB in the Yoradio group, due to being treated like an intruder, to say no more....
Therefore, please do not pass this on the Yoradio group on FB . Apologies for errors.