Only as a learning record, Gangster skip.
1, run their own writing led light does not shine:
It found that the main function was not introduced
#include "delay.h"
with
deley_init();
Because bloggers used the c-file led'sdelay_ms(500);
2, as long as gpio led to an initialization (push-pull output), not led default operation, the operation is led bright.
The following warning appears when 3,2019.12.03 write multiple external interrupts:
main.c (11): warning: # 223-D: function "trytemp" declared implicitly
By troubleshooting, I found try.h
file written #ifdef #ifndef
After modifications would have to be resolved: