Show Posts
Pages: 1 ... 54 55 [56] 57 58 ... 94
826  Using Arduino / Programming Questions / Re: How to compare a negative number?? on: August 13, 2013, 12:54:23 pm
Assuming that x and y are signed, this should work. What exactly is the problem?
827  Using Arduino / Programming Questions / Re: Redundant variables on: August 13, 2013, 11:12:45 am
Kernigham and Plauger again:
"Everyone knows that debugging is twice as hard as writing a program in the first place. So if you are as clever as you can be when you write it, how will you ever debug it?"
828  Using Arduino / Project Guidance / Re: Help me find this 9v Batter holder on: August 12, 2013, 06:04:45 pm
Digikey has some that are close:
http://www.digikey.com/product-search/en?pv91=610&FV=fff40006%2Cfff80022%2C16940005&k=9V+battery+holder&mnonly=0&newproducts=0&ColumnSort=0&page=1&quantity=0&ptm=0&fid=0&pageSize=25
829  Using Arduino / General Electronics / Re: Low-Pass Filter on: August 12, 2013, 06:01:43 pm
For every order of filter you will drop the signal <<in the stop band>> by 20 dB per decade...

FIFY
830  Using Arduino / Project Guidance / Re: Using a Satellite Dish in Projects on: August 12, 2013, 05:58:35 pm
You could possibly make an active satellite aimer that strives to keep the maximum signal. Since most people just clamp them to the balcony, it is probably not needed. 8^)
831  Using Arduino / Programming Questions / Re: decimal calculation correction problem on: August 12, 2013, 02:55:27 pm
There is no correction. Just like when you convert 1/3 to decimal you get 0.3333333333..., there is no exact binary conversion from 38.9 base 10 to binary. You have to live with it or use integers, as has been pointed out. Welcome to computer science!

Do you have a datasheet for the tuner?
832  Using Arduino / Programming Questions / Re: Using Stack in Arduino IDE on: August 12, 2013, 12:15:08 pm
Stacks are not designed to look at items inside the stack. I think you need a linked list.
833  Using Arduino / Programming Questions / Re: More Precision With Numbers on: August 06, 2013, 01:08:05 pm
oops, lost a little bit of presicison there... 8^)
834  Using Arduino / Programming Questions / Re: More Precision With Numbers on: August 06, 2013, 09:01:03 am
You have a total of 1023 steps. If you never get above 600 or so, you are throwing away precision.
835  Using Arduino / Project Guidance / Re: Mega ADK to communicate with Nexus 7 Tablet to save fastboot partition question on: August 02, 2013, 10:29:12 am
Are you trying to save files on the Arduino? Realize that there is very little storeage on the board, you will need to use an SD card, so this process will be s-l-o-w.
836  Using Arduino / Project Guidance / Re: Pulse Oximeter Simulator on: August 01, 2013, 09:23:14 am
What you probably need is a rotating cylinder with a filter of some sort so that you can quickly change the absorption requirements. I don't think it will be sufficient to just calibrate the receiver, the transmitter needs calibration, too.
837  Community / Exhibition / Gallery / Arduino on NPR on: July 30, 2013, 12:49:33 pm
Not sure if thsi should ge here, but:
http://www.npr.org/blogs/alltechconsidered/2013/07/29/205822987/tiny-tech-puts-satellites-in-hands-of-homebrew-designers
838  Using Arduino / Programming Questions / Re: Stupid Question: What compiler is used? on: July 30, 2013, 12:09:14 pm
"I found some good ol' text files inside the arduino directory -> hardware -> tools  -> avr"

Of course, you have to trust that this gets updated with every change...
839  Using Arduino / Programming Questions / Re: Referencing define in another file on: July 30, 2013, 10:08:26 am
You create a .h file with the commands I used and then #include it.
840  Using Arduino / Programming Questions / Re: Stupid Question: What compiler is used? on: July 30, 2013, 10:06:58 am
By printing out the values of those defines, you can tell exactly what version of GCC was used to compile your program.
Pages: 1 ... 54 55 [56] 57 58 ... 94