Hello All,
I am currently integrating an FSR to my Arduino UNO. I am successful with the two things below
- Read the FSR input from Analog input pin0.
- Output Audio using PWM pin 9.
Now i need to do some audio effects based on the FSR input. but when i integrate both, i am not successful. kindly provide me some pointers asap.
Below is the sample code :
void loop(){
fsrReading = analogRead(fsrPin);
Serial.print("Analog reading = ");
Serial.println(fsrReading); // the raw analog reading
delay(1000);
audioHook(); // required here
}
Thanks a lot in advance