#include <stddef.h>
#include "config.h"
#include <avr/pgmspace.h>
Defines | |
#define | JOYOS_VERSION "0.2.2" |
Current JoyOS version. | |
Functions | |
void | panic (char *msg) |
void | set_auto_halt (uint8_t ah) |
void panic | ( | char * | msg | ) |
System panic. Call this routine to halt the board and display an error message on the LCD. This routine never returns.
msg | Display "panic: msg" on the LCD. |
void set_auto_halt | ( | uint8_t | ah | ) |
Enable or disable the Auto-halt. By default after 60 seconds, the kernel will disable all motors and servos and halt. To disable this functionality call set_auto_halt(0);
ah | whether to enable or disable auto-halt functionality |