Commit ff648393 authored by Ole 's avatar Ole
Browse files

added code for analog switch

parent 9883fc93
Pipeline #950 failed with stages
in 5 seconds
......@@ -230,6 +230,11 @@ int main(void)
GPIO_IntEnable(&interrupt_pin);
NVIC_EnableIRQ(MXC_GPIO_GET_IRQ(PORT_1));
// uncomment this to switch ECG to USB connector
#if 0
const gpio_cfg_t analog_switch = {PORT_0, PIN_31, GPIO_FUNC_OUT, GPIO_PAD_NONE};
GPIO_OutSet(&analog_switch);
#endif
ecg_config();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment