mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-08-18 19:27:59 -04:00
Add gpio for debug purpose
This commit is contained in:
parent
7f2efb68f9
commit
f83abed4e4
3 changed files with 60 additions and 6 deletions
|
@ -177,3 +177,8 @@ inline void CH554WDTFeed(uint8_t tim)
|
|||
WDOG_COUNT = tim; // Watchdog counter assignment
|
||||
|
||||
}
|
||||
|
||||
// Set pin p1.4 and p1.5 to GPIO output mode.
|
||||
void gpio_init();
|
||||
void gpio_set(uint8_t pin);
|
||||
void gpio_unset(uint8_t pin);
|
Loading…
Add table
Add a link
Reference in a new issue