Show Posts
Pages: 1 [2] 3 4 ... 1744
16  Using Arduino / Programming Questions / Re: Getting 'setColor' was not delaired in this scope error on: April 20, 2014, 02:03:49 am
So, post the code that didn't compile, preferably with the errors you got.
17  Using Arduino / Programming Questions / Re: if else or switch case? on: April 20, 2014, 02:02:22 am
Use of "toupper()" might be beneficial in decluttering.
18  Using Arduino / Programming Questions / Re: Getting 'setColor' was not delaired in this scope error on: April 20, 2014, 01:59:17 am
What do you mean by "it didn't work"?

It didn't compile, or when compiled, it didn't do what you wanted it to?

Can you show what you tried and what happened?
19  Using Arduino / General Electronics / Re: Hi all need suggestion on: April 20, 2014, 01:37:35 am
What's the power source?
20  Using Arduino / Sensors / Re: HDPM01 module on: April 20, 2014, 01:36:02 am
What value I2C pull ups have you fitted?
21  Using Arduino / Programming Questions / Re: How to fix this servo code on: April 19, 2014, 05:46:03 pm
Quote
I'm on UNO and it works for me.
So, you haven't noticed the transitions from 255 to 256, 511 to 512 or 767 to 768?
Give it time, you will.

There are 10 types of people in the world; those who understand binary arithmetic, and those who don't.
22  Using Arduino / Programming Questions / Re: How to fix this servo code on: April 19, 2014, 05:35:29 pm
Quote
Analog write technically only goes up to 255,
Unless you're on a Due, there's no "technically" about it, and the sooner you convince yourself of that, the happier we'll all be.
If you want a sawtooth, keep using 0..1023, otherwise use 0..255.
23  Using Arduino / Programming Questions / Re: Set LED Brightness as a subroutine on: April 19, 2014, 05:28:24 pm
Please, just post your code between code tags.
My phone doesn't know how to read .ino files, and I can't be bothered to tell it how to.
24  Using Arduino / Project Guidance / Re: Trouble with Robot on: April 19, 2014, 05:20:23 pm
Apart from the cost, the low energy density and all the heat it wastes in the regulator?
25  Using Arduino / Project Guidance / Re: Trouble with Robot on: April 19, 2014, 05:17:18 pm
Quote
when I try to use a 9v battery
One of those tiny 9V batteries that runs your smoke alarm?
I think we have an answer.
26  Using Arduino / Programming Questions / Re: How to fix this servo code on: April 19, 2014, 05:15:19 pm
Code:
for(servoPosA = 0; servoPosA < 90; servoPosA += 1)  // goes from 0 degrees to 180 degrees
Maybe, with 1:2.something gearing.
27  Using Arduino / Programming Questions / Re: Need help with changing GSM Sim900 changing Char characters on: April 19, 2014, 05:11:16 pm
Code:
inchar=SIM900.read();
      if (inchar=='led')
Does your keyboard have a 'led' key?
No, mine neither.
28  Using Arduino / Programming Questions / Re: 3phase signals 120 degrees out of phase for mega2560 on: April 19, 2014, 05:02:08 pm
This thread is locked.
The new member is a sock-puppet of the banned member.
29  Using Arduino / Programming Questions / Re: How to fix this servo code on: April 19, 2014, 04:58:57 pm
Quote
eah, it's under Tools, but it doesn't do anything
Please, step away from the keyboard, and no-one will get hurt.
30  Using Arduino / Project Guidance / Re: Trouble with Robot on: April 19, 2014, 04:51:09 pm
Quote
it doesn't seen to change anything
Explanation, please.

Code:
delay(x*10.5777-(x*x/200.3));
?
Pages: 1 [2] 3 4 ... 1744