11,7 → 11,7 |
void Blc(void); |
void Manuell(void); |
|
// anselm test von valbas |
// anselm |
/* |
#define COM1A ((0 << COM1A0) | (1 << COM1A1)) // COM1A-> OC1A non inverting mode |
#define COM1B ((0 << COM1B0) | (1 << COM1B1)) // COM1B-> OC1B non inverting mode |
55,9 → 55,9 |
// #define PWM_B_ON {TCCR2 = 0x41; if(PPM_Betrieb) { TCCR1A = 0xA1;DDRB = 0x0C;} else { TCCR1A = 0x21; DDRB = 0x0E;}} |
// #define PWM_A_ON {TCCR2 = 0x61; if(PPM_Betrieb) { TCCR1A = 0xA1;DDRB = 0x08;} else { TCCR1A = 0x01; DDRB = 0x0E;}} |
|
#define PWM_C_ON {TCCR1A = 0xA1; TCCR2 = 0x61; DDRB = 0x02;} |
#define PWM_B_ON {TCCR1A = 0xA1; TCCR2 = 0x61; DDRB = 0x04;} |
#define PWM_A_ON {TCCR1A = 0xA1; TCCR2 = 0x61; DDRB = 0x08;} |
#define PWM_C_ON {TCCR1A = 0x81; TCCR2 = 0x41; DDRB = 0x0E;} |
#define PWM_B_ON {TCCR1A = 0x21; TCCR2 = 0x41; DDRB = 0x0E;} |
#define PWM_A_ON {TCCR1A = 0x01; TCCR2 = 0x61; DDRB = 0x0E;} |
|
|
// #define PWM_C_ON {TCCR1A = 0x82; TCCR2 = 0x41; PORTB &= ~0x04; DDRB = 0x0E;} |