Mercurial > ~darius > hgwebdir.cgi > tempctrl
comparison testavr.c @ 56:09f8d879afb9
Make it louder.
author | darius@Inchoate |
---|---|
date | Wed, 29 Oct 2008 17:45:50 +1030 |
parents | 58f1ec46bff6 |
children | 50fca9562310 |
comparison
equal
deleted
inserted
replaced
55:6b1057409d9a | 56:09f8d879afb9 |
---|---|
106 * | 106 * |
107 * Behind ifndef because PB3 is A0 on PDI chip | 107 * Behind ifndef because PB3 is A0 on PDI chip |
108 * | 108 * |
109 * Phase correct PWM, non-inverted output, divide by 8 */ | 109 * Phase correct PWM, non-inverted output, divide by 8 */ |
110 TCCR0 = _BV(WGM00) | _BV(WGM11) | _BV(COM00) | _BV(COM01) | _BV(CS01); | 110 TCCR0 = _BV(WGM00) | _BV(WGM11) | _BV(COM00) | _BV(COM01) | _BV(CS01); |
111 OCR0 = 253; | 111 OCR0 = 128; |
112 #endif | 112 #endif |
113 | 113 |
114 /* Set up the one wire stuff */ | 114 /* Set up the one wire stuff */ |
115 OWInit(); | 115 OWInit(); |
116 | 116 |