Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 24th, 2017
79
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include "mbed.h"
AnalogIn ain(p20);
DigitalOut led(LED1);
int main() {
while (1){
if(ain < 0.01) {
led = 1;
} else {
led = 0;
}
}
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Task 3
Python | 37 min ago | 0.41 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 42 min ago | 0.39 KB
Trending (Biram)
Dart | 59 min ago | 0.71 KB
Slot Server
Lua | 1 hour ago | 0.45 KB
slot client
Lua | 1 hour ago | 11.68 KB
EasyButton Integration rev_01
Arduino | 1 hour ago | 1.79 KB
Untitled
C++ | 3 hours ago | 1.34 KB
DigitalTVCustom
JSON | 4 hours ago | 7.97 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!