Skip to content
Snippets Groups Projects
Commit ff648393 authored by Ole Dreessen's avatar Ole Dreessen
Browse files

added code for analog switch

parent 9883fc93
Branches
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment