Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void delay(uint8_t wait)
- {
- uint32_t tmp;
- while(wait != 0)
- {
- //this block code realises 100ms delay
- tmp = 1;
- while(tmp != 900000)
- ++tmp;
- --wait;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement