timer test

start transitions
some fixes
This commit is contained in:
2024-02-05 20:28:24 +03:00
parent 194095da7d
commit 5a3a79bba2
4 changed files with 36 additions and 21 deletions

View File

@@ -2,10 +2,6 @@
#include <pico/stdlib.h>
#ifdef __cplusplus
extern "C" {
#endif
void gpio_init_out(uint gpio) {
gpio_set_dir(gpio, GPIO_OUT);
@@ -19,8 +15,3 @@ void gpio_init_input(uint gpio) {
gpio_pull_up(gpio);
gpio_set_function(gpio, GPIO_FUNC_SIO);
}
#ifdef __cplusplus
}
#endif