Show Posts
Pages: 1 ... 1068 1069 [1070] 1071 1072 ... 1898
16036  Using Arduino / Programming Questions / Re: Salt Reef seasons IF Then Confusion!? on: April 17, 2012, 11:17:50 am
Quote
sed to seeing int main and if then ... goto
All still there if you look closely enough...apart from the g-word.
We don't mention it in polite society, the might be noobs listening who may think it clever to try one.
16037  Using Arduino / Programming Questions / Re: RGB with FSR on: April 17, 2012, 11:14:10 am
As PaulS has suggested, add a bunch of debug prints.
16038  Using Arduino / Programming Questions / Re: RGB with FSR on: April 17, 2012, 11:04:47 am
The guy here has a similar problem, similar code and a very same IP address.
Hmm.

Edit. And the same habit of asking the same question across different parts of the forum.(don't worry, I've deleted the other one now)
16039  Using Arduino / Programming Questions / Re: Web Server Contol Help Needed on: April 17, 2012, 09:57:38 am
Code:
void triggerPin(int pin, EthernetClient client
Why pass the client reference to this function?
You don't use it.

Code:
if (door1status < 10){client.println("<center>Kristen's door is closed</center>");}
          if (door1status >= 10)
If something isn't less than ten, it must be greater than or equal to 10; a simple else would suffice here.
16040  Using Arduino / Installation & Troubleshooting / MOVED: Shift Out / Shift Register. on: April 17, 2012, 09:50:16 am
This topic has been moved to Programming Questions.

http://arduino.cc/forum/index.php?topic=101657.0
16041  Using Arduino / Programming Questions / Re: Can libraries be used like this? on: April 17, 2012, 09:39:15 am
Quote
I'll bet you'll actually need to add extra delay to actually slow arduino down enough to see the effect
He said the "d" word.
16042  Using Arduino / Programming Questions / Re: Double check my code to run a stepper motor at 60rpm on: April 17, 2012, 09:36:57 am
My reading or your code is that you've got a 1.8 degree per step motor, that you want to turn through 180 degrees in half a second.
Is that what you wanted?
Caveat: I have never used this library.
16043  Using Arduino / Project Guidance / MOVED: Traffic lights code for beginners on: April 17, 2012, 08:59:13 am
This topic has been moved to Exhibition / Gallery.

http://arduino.cc/forum/index.php?topic=101753.0
16044  Using Arduino / LEDs and Multiplexing / Re: learning....unexpected results with RGB led on: April 17, 2012, 08:49:34 am
Quote
whats the best way to get the correct outputs short of inverting all the values manually?
A simple subtraction.
Code:
analogWrite (255 - desiredLevel);

Yours is presumably a common anode LED.
16045  Using Arduino / Programming Questions / Re: Salt Reef seasons IF Then Confusion!? on: April 17, 2012, 07:20:09 am
Quote
Is the fan both on and off?
Schrödinger's fan?
16046  Using Arduino / Programming Questions / Re: RGB Code not working. on: April 17, 2012, 07:11:04 am
Quote
t's also not really a good idea to keep posting the same question all over the forums.
It's actually a really bad idea.
@OP: Don't do it - no more warnings.
16047  Using Arduino / Programming Questions / Re: send command via rs232 on: April 17, 2012, 07:01:30 am
Tell us what equipment you do have, and what equipment you know how to use.
16048  Using Arduino / Programming Questions / Re: Using goto during the interrupt on: April 17, 2012, 06:58:43 am
Quote
Goto is bad thing and it's impossible to use it with an interrupts
1)Yes it is, but it is part of the language and has its place (this isn't it)
2) No-one said it was impossible (it isn't), just that what you were trying do was not possible.
16049  Using Arduino / Programming Questions / Re: Using goto during the interrupt on: April 17, 2012, 06:52:58 am
Quote
Has someone solved such problem?
Yes.
Look at the blink without delay example, without delay.
16050  Using Arduino / Project Guidance / Re: Use of A/D converter on: April 17, 2012, 06:43:05 am
Would it make sense to merge this with your other thread on the subject?
I don't understand why you can't follow the advice I've already given.
Pages: 1 ... 1068 1069 [1070] 1071 1072 ... 1898