Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
card10
firmware
Commits
ff648393
Commit
ff648393
authored
May 31, 2019
by
Ole
Browse files
added code for analog switch
parent
9883fc93
Changes
1
Hide whitespace changes
Inline
Side-by-side
ecgtest/main.c
View file @
ff648393
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment