This commit is contained in:
Wolfgang Hottgenroth 2016-01-18 22:02:18 +01:00
parent 6a27fb816b
commit e06d75a5fd

View File

@ -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;