# Sequence to reboot keyboard

**URL:** <https://community.keyboard.io/t/sequence-to-reboot-keyboard/1838>\
**Category:** Help and Getting Started\
**Created:** [July 25, 2018, 9:48pm UTC](https://community.keyboard.io/t/sequence-to-reboot-keyboard/1838 "2018-07-25T21:48:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JohnAtl](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/johnatl/32/2125_2.png) [@JohnAtl](https://community.keyboard.io/u/JohnAtl)\
**Post date:** [July 26, 2018, 2:20am UTC](https://community.keyboard.io/t/sequence-to-reboot-keyboard/1838/2 "2018-07-26T02:20:02Z")

</div>

You can create a reset function, then call it in your code.  
I haven’t called a custom function based on a keystroke, so I can’t help you there. There is probably code in the basic firmware that would help you.

```
void(* resetFunc) (void) = 0;//declare reset function at address 0
...
resetFunc(); //call reset 

```

[ref](https://www.instructables.com/id/two-ways-to-reset-arduino-in-software/)

---

_[View the full topic](https://community.keyboard.io/t/sequence-to-reboot-keyboard/1838)._
