Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 24th, 2017
65
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include "mbed.h"
AnalogIn ain(p20); //create a PWM output called PWM1 on pin 21
DigitalOut led(LED1);
int main()
{
while(1)
{
if(ain<0.013)
{
led = 1;
}
else
{
led = 0;
}
}
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide Apr 2024 NEW 💰
GetText | 11 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 20 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 34 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 1 hour ago | 0.38 KB
Keylogger.py
Python | 1 hour ago | 5.00 KB
Combobox
Python | 1 hour ago | 0.95 KB
Untitled
C++ | 1 hour ago | 1.42 KB
StargateDialing
Lua | 1 hour ago | 3.93 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!