Hello Guys I was checking a code here which is able to generate tones. Now my question related to arduino is that arduino is capable of playing all frequencies in the (hearing range) or it is limited just to the traditional chromatic scale (frequencies) use in music? Thanks a lot.
This is the code
oid setup() {
int pinOut = 8;
int freq = 110;
int duration = 1000;
for(int i=0; i<4 ; i++) {
tone(pinOut, freq*i, duration);
int pauseBetweenNotes = duration * 1.30;
delay(pauseBetweenNotes);
noTone(8);
}
}
void loop() {
}