added 4-digit src

This commit is contained in:
Eddy
2015-02-21 12:28:08 +03:00
parent b300fb8d06
commit 1a0095a9ae
9 changed files with 815 additions and 2 deletions

View File

@@ -74,8 +74,6 @@ int main() {
// Configure pins
CFG_GCR |= 1; // disable SWIM
LED_init();
// configure PD3[TIM2_CH2] as input for zacwire
PD_CR1 |= GPIO_PIN3; // weak pullup
CCR |= 0x28; // make shure that we are on level 3 - disabled SW priority
// Configure Timer1
// prescaler = f_{in}/f_{tim1} - 1