NRF24L+ STM8 Compatible Library
delay.h
Go to the documentation of this file.
1 #ifndef DELAY_H
2 #define DELAY_H
13 #ifndef F_CPU
14 #warning "F_CPU not defined, using 8MHz by default"
16 #define F_CPU 8000000UL
17 #endif
18 
19 #include <stdint.h>
20 
21 void delay_ms(uint32_t ms);
22 
23 #endif /* DELAY_H */
void delay_ms(uint32_t ms)
Generates a delay in ms.
Definition: delay.c:14