frequency = Serial.read();
You read one byte from the serial port, as the new frequency.
i wanna change frequency in serial monitor
So, the values for the frequency will be '0' to '9'. What does a frequency of '7' mean to you?
frequency = Serial.read();
You read one byte from the serial port, as the new frequency.
i wanna change frequency in serial monitor
So, the values for the frequency will be '0' to '9'. What does a frequency of '7' mean to you?