changed
This commit is contained in:
parent
6a27fb816b
commit
e06d75a5fd
@ -5,7 +5,8 @@
|
||||
* Author: wn
|
||||
*/
|
||||
#include <msp430g2553.h>
|
||||
#include <isr_compat.h>
|
||||
// #include <isr_compat.h>
|
||||
#include <signal.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "time.h"
|
||||
@ -18,7 +19,8 @@ uint16_t pwmVal = 128;
|
||||
volatile uint16_t onTime = 500;
|
||||
volatile uint16_t offTime = 200;
|
||||
|
||||
ISR(TIMER0_A0, TA0_ISR) {
|
||||
// ISR(TIMER0_A0, TA0_ISR) {
|
||||
interrupt (TIMER0_A0_VECTOR) timer0a0_isr(void) {
|
||||
tickCnt++;
|
||||
|
||||
static uint8_t state0 = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user