Show Posts
Pages: 1 [2] 3 4 ... 99
16  Using Arduino / Project Guidance / Re: Frequency measuring and SPI on: September 04, 2014, 05:01:22 pm
Does it work if you put in a single tone? At what frequency does it stop working? Do you have a Nyquist filter on the input?
17  Using Arduino / Programming Questions / Re: Does Arduino Uno hibernate by itself or why does my scetch seem to halt? on: September 04, 2014, 03:39:16 pm
Which are also points that Kernigham and Plauger bring up!
18  Using Arduino / Programming Questions / Re: Does Arduino Uno hibernate by itself or why does my scetch seem to halt? on: September 04, 2014, 11:56:14 am
In the Elements of Programming Style it states:
"To avoid this unconscious acceptance [that the comment affects your understanding of the code], in The Psychology of Computer Programming Weinberg suggests that comments should be written on the right side of the page and code on the left, so the comments can be covered during debugging."

So having the comments in a not understood language is a *good* thing.
19  Using Arduino / Programming Questions / Re: Help in the code sytax on: September 03, 2014, 01:48:28 pm
Short circuiting is a required feature of C.
20  Using Arduino / Programming Questions / Re: if command question on: September 03, 2014, 12:58:58 pm
No, but we should simplify things for newbies. Using the result of an assignment in an if statement is a perfectly valid C construct, but can be confusing for the beginner.
21  Using Arduino / Programming Questions / Re: if command question on: September 03, 2014, 10:41:31 am
First rule of technicality club:
Don't talk about technicality club!
http://www.smbc-comics.com/?id=3470#comic
22  Using Arduino / Programming Questions / Re: Variables - Convert 16 bit into 2x 8 bit and vice versa on: August 28, 2014, 04:17:14 pm
I think you missed a shift in your first Hi calculation.
23  Using Arduino / Programming Questions / Re: Flash Memory of Arduino Uno on: August 26, 2014, 10:27:48 am
It is the RAM you are running low on, not FLASH. Actually you should take some of the global data hogging up RAM and put it in flash. Show your code.
24  Using Arduino / Programming Questions / Re: unsigned long operations gives unexpected result on: August 26, 2014, 09:56:46 am
Or rearrange things to do the (x-xa) * (yb-ya) before dividing by (xb-xa)
25  Using Arduino / Programming Questions / Re: byte PROGMEM list[100] .. strange results on: August 25, 2014, 04:01:31 pm
Or do that. 8^)
26  Using Arduino / Programming Questions / Re: unsigned long operations gives unexpected result on: August 25, 2014, 03:59:34 pm
Yup, your "slope" calculation = 3.96, which will turn into 3.
27  Using Arduino / Programming Questions / Re: byte PROGMEM list[100] .. strange results on: August 25, 2014, 03:58:28 pm
I don't think you can use PROGMEM as an automatic variable - one defined inside a function. Move it to the global data area outside of setup().
28  Using Arduino / Project Guidance / Re: Maximum Current Pulse on: August 25, 2014, 03:13:21 pm
Bondwires fuse in a very short amount of time.
29  Using Arduino / Programming Questions / Re: unsigned long operations gives unexpected result on: August 25, 2014, 03:11:12 pm
yb-ya is negative.
30  Using Arduino / Programming Questions / Re: Strange behaviour of "return value;" on: August 25, 2014, 11:53:04 am
Unconditional? In a row?

I said in a function.
Pages: 1 [2] 3 4 ... 99