Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jul 16th, 2018
76
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
uint32_t uptime = 0;
// interrupt each 1 ms
ISR()
{
// this is the only location which writes to uptime
++uptime;
}
void some_func()
{
uint32_t now = uptime;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Online Trainer v21
Ruby | 21 min ago | 6.10 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 21 min ago | 0.39 KB
Meta
GetText | 26 min ago | 0.05 KB
Series (Biram)
Dart | 35 min ago | 1.45 KB
Untitled
C++ | 37 min ago | 0.49 KB
Untitled
Python | 39 min ago | 10.37 KB
Untitled
Python | 41 min ago | 8.08 KB
snowybot.py
JavaScript | 60 min ago | 3.87 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!