works so far
This commit is contained in:
parent
f707ee2fd5
commit
b69ebbb5ba
@ -1,2 +1,7 @@
|
||||
eclipse.preferences.version=1
|
||||
msp430/DeviceSerialNumber=
|
||||
msp430/MSP430TARGETMCU=msp430g2553
|
||||
msp430/MSPDebugConnection=USB
|
||||
msp430/MSPDebugDriver=rf2500
|
||||
msp430/MSPDebugProtocol=SBW
|
||||
msp430/MSPDebugTTYDevice=
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user