dev_beta_softSerial #4
@@ -24,6 +24,10 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define clockCyclesPerMicrosecond() (F_CPU / 1000000L)
|
||||
#define clockCyclesToMicroseconds(a) ((a) / clockCyclesPerMicrosecond())
|
||||
#define microsecondsToClockCycles(a) ((a) * clockCyclesPerMicrosecond())
|
||||
|
||||
/**
|
||||
* \brief Initialize timer for creating delays
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user