Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Feb 18th, 2018
62
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.23 KB
| None
|
0
0
raw
download
clone
embed
print
report
const int pinAdc = A0;
void setup()
{
Serial.begin(115200);
}
void loop()
{
long sum = 0;
for(int i=0; i<32; i++)
{
sum += analogRead(pinAdc);
}
sum >>= 5;
Serial.println(sum);
delay(10);
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 25 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 47 min ago | 0.39 KB
Pseudo-multiple inheritance
JavaScript | 56 min ago | 0.60 KB
Untitled
JavaScript | 1 hour ago | 2.56 KB
2024-04-17_stats.json
JSON | 2 hours ago | 4.10 KB
2024-04-17_stats.json
JSON | 2 hours ago | 4.10 KB
2024-04-17_stats.json
JSON | 2 hours ago | 4.07 KB
Whitelister
Lua | 2 hours ago | 23.32 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!