projects
/
cortex-from-scratch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
raising and failing edge capture on TIM4
[cortex-from-scratch]
/
main.c
diff --git
a/main.c
b/main.c
index
38f9a37
..
ff45998
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-39,9
+39,7
@@
void main()
uart_init();
// cputs("ROBSYS LOADING...\n");
systick_init();
uart_init();
// cputs("ROBSYS LOADING...\n");
systick_init();
- led_init();
- rtc_init();
- tsensor_init();
+// tsensor_output(0xFFFF, 0x7FFF);
init_printf(NULL, putc);
// SPEED_TEST
init_printf(NULL, putc);
// SPEED_TEST
@@
-64,6
+62,11
@@
void main()
sysinfo();
sysinfo();
+ tsensor_input(5000);
+
+ led_init();
+ rtc_init();
+
// tm1637_init();
// tm1637_start();
// tm1637_init();
// tm1637_start();