1
#ifndef HWDEF_MT35_MINI_H
2
#define HWDEF_MT35_MINI_H
4
/* Mateminco MT35-Mini / Astrolux FT03
7
* eswitch -|2 7|- Aux LED
13
#define PWM_CHANNELS 2
16
#define SWITCH_PIN PB3 // pin 2
17
#define SWITCH_PCINT PCINT3 // pin 2 pin change interrupt
21
#define PWM1_PIN PB4 // pin 3, 1x7135 PWM
22
#define PWM1_LVL OCR1B // OCR1B is the output compare register for PB0
26
#define PWM2_PIN PB0 // pin 5, FET PWM
27
#define PWM2_LVL OCR0A // OCR0A is the output compare register for PB4
30
#define ADC_PRSCL 0x07 // clk/128
32
// average drop across diode on this hardware
33
#ifndef VOLTAGE_FUDGE_FACTOR
34
#define VOLTAGE_FUDGE_FACTOR 7 // add 0.35V
39
#define AUXLED_PIN PB2 // pin 7
42
#define FAST 0xA3 // fast PWM both channels
43
#define PHASE 0xA1 // phase-correct PWM both channels
45
#define LAYOUT_DEFINED