I have 2 teensy boards that are using the same code. I am telling the compiler which code to run based on the level of a specific pin which I have tied to ground. This saves me from having one project per board.
I want to adjust the value if AUDIO_SAMPLE_RATE_EXACT in the file audiostream.h
to be different for each board.
It seems the compiler compiles the audiostream.h file before it compiles my .ino project file so I cant seem to define the AUDIO_SAMPLE_RATE_EXACT without it giving me an error that it is already defined.
The pin check is done in the maincode with a digital read.
Is there any way to have the AUDIO_SAMPLE_RATE_EXACT different for each board?
I want to adjust the value if AUDIO_SAMPLE_RATE_EXACT in the file audiostream.h
to be different for each board.
It seems the compiler compiles the audiostream.h file before it compiles my .ino project file so I cant seem to define the AUDIO_SAMPLE_RATE_EXACT without it giving me an error that it is already defined.
The pin check is done in the maincode with a digital read.
Is there any way to have the AUDIO_SAMPLE_RATE_EXACT different for each board?