Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 1585

A standard Arduino function for measuring the voltage on an analog pin via ADC.

5 votes

What's the most accurate way to time-stamp analogRead data?

There is no more accurate way of getting time on the arduino, but I would suggest you use millis() instead. micros() returns microseconds, or millionths of a second, since the arduino was turned on. …
BrettFolkins's user avatar
  • 4,441
1 vote
Accepted

Is it possible to use FrSky D8R-II Plus 8ch 2.4Ghz ACCST Receiver with an arduino Uno?

I've used plenty of receivers like this with arduino. The operating current is not really an issue; It is drawing power off of the 5v line, not the digital pins, which is capable of 100mA. In any cas …
BrettFolkins's user avatar
  • 4,441
5 votes

How to loop over analog pins?

At least an Uno/Megas/leonardos, all the values mapped to analog pin numbers are consecutive, so for (int i = A0; i < A4; i++) { pinMode(i, OUTPUT); digitalWrite(i, LOW); } will set A0, A1, A …
BrettFolkins's user avatar
  • 4,441
2 votes

How to avoid the code interrupting itself?

You can't use threads on an arduino, they don't exist. you can get some pseudo multitasking going with interrupts, but that is not necessary in your case. You should be able to refactor your code to …
BrettFolkins's user avatar
  • 4,441