For instance the touch sensor, when i look at the serial monitor i have a reaction time of 3900ms ...
Do you have this in your code?
delay (3899);
Without seeing it, of course, we can't tell.
We can't help you unless you post your code.
Anne404:
I realy hope someone can help me out..
The problem is probably in your code.
yes it was the code...
in the example code of the capacitive sensor there are 3 inputs, i only wired 1 of them so it always timed out on the other two....
next time i'll wait a week before i'll post..
thanks to all who replied!
And now let's continue the witty banter XD
OK, no worries - glad you found it.
Sorry if that was a bit rough - belated welcome.
Wait, what if I come here only for the witty banter?
Lefty
next time i'll wait a week before i'll post..
Somehow the msg got mangled. Too subtle, maybe. The moderator is named HAL. To a new
poster on their very "first" post, someone should say, click on the # icon and display your code,
code goes here
fix comes here.
Wait, what if I come here only for the witty banter?
- wait.
- go to 1.
oric_dan(333):
Wait, what if I come here only for the witty banter?
- wait.
- go to 1.
I left the Basic language behind long ago, probably before you were born, but thanks anyway.
Lefty
while( 1 ) ;
oric_dan(333):
while( 1 ) ;
Warning bug! I suspect you were suggesting I should just while(1) {}
Lefty
.... . .-.. .--. -- .
while(1); compiles fine.
oric_dan(333):
.... . .-.. .--. -- .while(1); compiles fine.
That is why a called it a bug not an error, it doesn't end up waiting for any length of time.
oric_dan(333):
- wait.
- go to 1.
while (true)
delay (1000);
being that it's lefty,
void setup() { wait(); }
void loop() { }
void wait() { while(1) wait(); }
I need the code!
All your codes are belong to us.