works so far

This commit is contained in:
Wolfgang Hottgenroth 2016-09-20 22:34:56 +02:00
parent f707ee2fd5
commit b69ebbb5ba
2 changed files with 9 additions and 4 deletions

View File

@ -1,2 +1,7 @@
eclipse.preferences.version=1
msp430/DeviceSerialNumber=
msp430/MSP430TARGETMCU=msp430g2553
msp430/MSPDebugConnection=USB
msp430/MSPDebugDriver=rf2500
msp430/MSPDebugProtocol=SBW
msp430/MSPDebugTTYDevice=

View File

@ -34,9 +34,9 @@ void inverterInit() {
P2SEL |= BIT0;
TA1CTL = MC_1 | ID_3 | TASSEL_2 | TACLR;
TA1CTL = MC_1 | ID_1 | TASSEL_2 | TACLR;
TA1CCTL0 = CCIE | OUTMOD_4;
TA1CCTL1 = OUTMOD_7;
TA1CCR0 = 200;
TA1CCR1 = 62;
// TA1CCTL1 = OUTMOD_7;
TA1CCR0 = 100;
// TA1CCR1 = 62;
}