Go Down

Topic: Guide Me how i can write and read audio simple on arduino EEPROM (Read 1 time) previous topic - next topic

dsese1234

Thanks for all Reponses, and i really understand it. but i want to now how actually code it? Maybe something like:
    val = analogRead(0);
     eemprom.write(address, val);?

   maybe  PWM is equal to eemprom.read(address)?




CrossRoads

analogRead() needs 100uS to complete a 10-bit conversion. Divide by 4 to get to 8 bits.
EEPROM write needs 3.3ms to complete the write.

EEPROM read is quicker.
Standard analogwrite() is 490 Hz.

PWM output can me manipulated - this article is often referred to:
http://www.arcfn.com/2009/07/secrets-of-arduino-pwm.html
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Go Up