ATtiny85 Template Code
Code snippets for the ATtiny85
|
#include "utility.h"
Go to the source code of this file.
Macros | |
#define | WAIT_INNER (F_CPU / 6000) |
Functions | |
void | wait (uint16_t millis) |
char | hexChar (uint8_t value) |
char hexChar | ( | uint8_t | value | ) |
void wait | ( | uint16_t | millis | ) |
An inaccurate delay function
This function will delay for the given number of milliseconds. This is not an accurate delay (interrupt activity will interfere with the timing and it uses instruction timing approximations to consume the time) but should be close enough for many purposes without having to revert to a timer interrupt.