// Arduino Due
#define BOARD "DUE"
#define HEV_FULL_SYSTEM
    // pwm pins
const int pin_valve_air_in     = 11;
const int pin_valve_o2_in      = 10;
const int pin_valve_inhale     = 6;  // formerly pin_valve_out
const int pin_valve_exhale     = 5;  // formerly pin_valve_scavenge
const int pin_valve_purge      = 3;
const int pin_o2_sensor = 4;

    // adcs
const int pin_pressure_air_supply   = A0;
const int pin_pressure_air_regulated= A1;
const int pin_pressure_buffer       = A2;
const int pin_pressure_inhale       = A3;
const int pin_pressure_patient      = A4;
const int pin_temperature_buffer    = A5;
const int pin_pressure_o2_supply    = A6; 
const int pin_pressure_o2_regulated = A7;
const int pin_pressure_diff_patient = A8;
    // leds
const int pin_led_green          = 0;
const int pin_led_yellow          = 1;
const int pin_led_red          = 2;

    // buzzer
const int pin_buzzer         = 9;

const int pin_spare_1       = 13;

    // lcd
const int pin_lcd_rs         = 22;
const int pin_lcd_en         = 24;
const int pin_lcd_d4         = 26;
const int pin_lcd_d5         = 28;
const int pin_lcd_d6         = 30;
const int pin_lcd_d7         = 32;

const int pwm_resolution = 12; // 8 bit resolution; up to 12 possible