This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Parsing simple USART commands | |
* ----------------------------- | |
* For more information see | |
* http://www.adnbr.co.uk/articles/parsing-simple-usart-commands | |
* | |
* 996 bytes - ATmega168 - 16MHz | |
*/ | |
#define F_CPU 16000000UL | |
#define BAUD 19200 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Counting Milliseconds with Timer1 | |
* --------------------------------- | |
* For more information see | |
* http://www.adnbr.co.uk/articles/counting-milliseconds | |
* | |
* 620 bytes - ATmega168 - 16MHz | |
*/ | |
// 16MHz Clock | |
#define F_CPU 16000000UL |