Show Posts
Pages: [1]
1  Using Arduino / Audio / Re: toneAC v1.1 - Twice the volume, higher quality, higher frequency, etc. on: January 24, 2013, 04:32:08 pm
Ah crap, maybe I will just do it.

Tim

Ah my name is Tim as well.  smiley-razz

So from one Tim to another: Thanks for the detailed information involved as to the concerns with the timers. It's helpful for me to learn more about this as a beginner to the Arduino world.

At the moment, I'm mostly trying to figure out how to use your library without conflicting with the SD library's use of the 10 pin as a selector (per: http://arduino.cc/en/Reference/SDCardNotes)  Based on what I've read there, though it looks like I may be able to just use SD.begin() to select a different pin for card initiation, and as long as 10 remains an Output that shouldn't actually cause problems.

So actually, with a little reading, I think the library will work for my particular application as it is.


Though I still think it would be awesome to have versions of the library for each of the available timers, just for that extra flexibility. From the pretty robust response you've received on the library in only a couple weeks, I think it's clear that people are finding it useful.

Anyway! Thanks for your efforts.
2  Using Arduino / Audio / Re: toneAC v1.1 - Twice the volume, higher quality, higher frequency, etc. on: January 24, 2013, 03:20:46 pm
First of all this library is awesome, and I'm very pleased that I found it. Registered just for this.

Secondly though, I'm running into trouble because of the 9 & 10 pin requirements. (Arduino Uno)

Is there a way someone could point in the right direction to modify the library to use pins 5 & 6? (or other PWM pins in general?)  Or perhaps I misunderstand and the relevant timer is ONLY accessible on 9 & 10.

Any reason we couldn't use Timer 0 or Timer 2, per: http://playground.arduino.cc/Main/TimerPWMCheatsheet


Alternately, I think it'd be an excellent addition to the library to be able to set options to switch between all possible PWM pins, just to give a little bit more flexibility.
Pages: [1]