mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-09 19:42:48 +00:00
12 lines
337 B
JavaScript
12 lines
337 B
JavaScript
export async function bootLoader() {
|
|
//Sends the bootloader command to the charachorder via the serial API
|
|
await sendCommandString("BOOTLOADER")
|
|
await readGetNone()
|
|
}
|
|
|
|
export async function reboot() {
|
|
//Sends the restart command to the charachorder via the serial API
|
|
await sendCommandString("RESTART")
|
|
await readGetNone()
|
|
}
|