Show Posts
Pages: 1 ... 1071 1072 [1073] 1074 1075 ... 1905
16081  Using Arduino / Project Guidance / Re: is it possible to generate staircase sweep voltage using atmega2560? on: April 21, 2012, 06:09:11 am
Maybe if you told us what the problem you have is, we could help you.
16082  Using Arduino / Project Guidance / Re: code check for me please on: April 21, 2012, 05:38:51 am
Can I recommend you read about for loops?
They'll make your code shorter and easier to debug
16083  Using Arduino / Programming Questions / Re: Wait for button response on: April 20, 2012, 04:17:43 pm
Ok, a really useful first step is using the auto format tool in the IDE
16084  Using Arduino / Programming Questions / Re: Wait for button response on: April 20, 2012, 03:52:13 pm
If you can get to grips with arrays, for loops and the && operator, your code will be much smaller and more readable.

Comments would help greatly.
16085  Using Arduino / Programming Questions / Re: Wait for button response on: April 20, 2012, 03:13:51 pm
Quote
how would I go about getting things to wait for a response before staring the loop over gain?
There is no loop in your code.
16086  Using Arduino / Programming Questions / Re: RGB code with Touchosc on: April 20, 2012, 02:52:36 pm
No, you didn't have to post the code again - you could have referred them to your other thread on the same subject.
16087  Using Arduino / Programming Questions / Re: bitshift mapping a number with sine wave generator on: April 20, 2012, 02:33:12 pm
You're trying to vary the position of the binary point in your phase accumulator?
16088  Using Arduino / Programming Questions / Re: RGB code with Touchosc on: April 20, 2012, 02:03:26 pm
I really do hope I don't have to merge another of your cross posted threads.
Please consider this a final warning.
16089  Using Arduino / Programming Questions / Re: map function...have to keep invoking it?? on: April 20, 2012, 01:56:33 pm
Bit of a waste of time passing a float to map.
16090  Using Arduino / Project Guidance / Re: Hi there looking for a bit of help on: April 20, 2012, 01:54:19 pm
You look to have all the right bits, but you need to post your code.
16091  Using Arduino / Project Guidance / Re: rfid wiegand 26 with 8x8 matrix on: April 20, 2012, 01:53:05 pm
You've already posted most of that code today.
Have you tested the code to read the reader?
Just saying "I cannot do that" isn't really very helpful.
16092  Using Arduino / Programming Questions / Re: internal pull up r's on: April 20, 2012, 07:31:34 am
It isn't released yet, which is why posting it was counter-productive.

Just use the pinMode (x, INPUT)/digitalWrite(x, HIGH) method.
16093  Using Arduino / Programming Questions / Re: how to get a delay in an if statment on: April 20, 2012, 07:14:13 am
You can't, but you could note the time of the first going low event, and note the time of the second going low event, and subtract the two.
Use "millis()" to record the time.
16094  Using Arduino / Programming Questions / Re: RGB code with Touchosc on: April 20, 2012, 07:12:58 am
No, I'm asking what values is your Processing writing for the individual channels of red, green and blue.
16095  Using Arduino / Programming Questions / Re: RGB code with Touchosc on: April 20, 2012, 06:44:45 am
Quote
It changes the colour of the LED but not to red, green or blu
Are you saying you see colours, but never pure primaries?

What does your debug output tell you is going on?
Pages: 1 ... 1071 1072 [1073] 1074 1075 ... 1905