Show Posts
Pages: 1 ... 20 21 [22] 23 24 ... 145
316  Using Arduino / Programming Questions / Re: Arduino with Visual Studio Problem on: March 14, 2014, 04:04:49 pm
Did you read Paul's replies?
317  Using Arduino / Programming Questions / Re: Help Please on: March 13, 2014, 10:16:53 pm
 float tempC;
You have to assign something to tempC before the if statement.
   if (tempC <= 21.11)
318  Using Arduino / Programming Questions / Re: Help Please on: March 13, 2014, 09:47:21 pm
Where do you ever write a low to pin 9 other than in setup?
319  Using Arduino / Project Guidance / Re: Troubleshoot this circuit? on: March 13, 2014, 08:08:46 pm
I don't think your PCB has plated through holes.
You will have to solder your components and wires on both the top and on the bottom.
320  Using Arduino / General Electronics / Re: Why the resistor? on: March 13, 2014, 04:08:56 pm
A pull down resistor ensures an input will be low if  the input pin is floating.
321  Using Arduino / General Electronics / Re: Oscilloscope - Advice/Guidance sought: Used CRO versus modern LCD oscilloscope? on: March 13, 2014, 03:44:18 pm
I believe the  GW Instek can accommodate logic analyzer modules and allows you to save the screen the a USB stick.
I think I'll be looking at one.

Edit:  not sure if you can display both the logic traces  and a analog traces at the same time though?
322  Using Arduino / Programming Questions / Re: Help with elapsedMillis! on: March 13, 2014, 03:34:35 pm
I have not used it but maybe change:
#include <elapsedMillis.h>.  TO  #include "elapsedMillis.h"
323  Using Arduino / Programming Questions / Re: Help with millis() in a loop on: March 13, 2014, 03:21:03 pm
time, goes out of Scope since it was declared in the for loop.
Move the "unsigned int time" out of the for loop.
324  Using Arduino / Programming Questions / Re: Trying to run an "If" statement only once on: March 13, 2014, 12:17:29 am
Try :
static int y = 0;
OR
Make y global
325  Using Arduino / Project Guidance / Re: I am a COMPLETE noob at programming on: March 12, 2014, 11:59:50 pm
https://tiny-circuits.com/products/tinyduino/
If this is your board, I recommend you buy an Arduino UNO as it is larger and IMO would be easier the manage.
326  Using Arduino / Programming Questions / Re: Speed of multiple IF's on: March 12, 2014, 11:40:45 pm
Compile both and see how many bytes each require.
327  Using Arduino / Programming Questions / Re: I need help on a program.... on: March 12, 2014, 11:38:48 pm
What do you have so far?
328  Using Arduino / Programming Questions / Re: Help with IF ELSE and serial comm please on: March 11, 2014, 11:32:30 pm
You need a:
buttonState = digitalRead(buttonPin);

Then you can do your test to see if buttonState is HIGH
329  Using Arduino / Programming Questions / Re: Help with IF ELSE and serial comm please on: March 11, 2014, 10:49:00 pm
Where are you reading the switch condition?
330  Using Arduino / Displays / Re: Lcd Menu Help on: March 11, 2014, 10:26:01 pm
In your .h files, comment out the line, and add the line
//#include "WProgram.h"
#include "Arduino.h"
Pages: 1 ... 20 21 [22] 23 24 ... 145