Contiki 2.5
|
This file operates the menu flow chart described in the readme notes.More...
#include <avr/pgmspace.h>
#include <stdbool.h>
Go to the source code of this file.
Data Structures | |
struct | tmenu_item |
This structure defines the joystick operation within the menu_items[]. More... | |
Typedefs | |
typedef void(* | tmenufunc )(uint8_t *) |
Pointer to function, used to dispatch a menu-driven function. More... | |
Functions | |
void | menu_run_sleep (uint8_t *val) |
This will start a sleep operation. More... | |
void | menu_run_doze (uint8_t *val) |
This will start a sleep with wakes for temperature measurement and web requests. More... | |
void | dectoascii (uint8_t val, char *str) |
This function will convert decimal to ascii. More... | |
uint8_t * | signed_dectoascii (int16_t n, uint8_t *str) |
This will convert a signed decimal number to ASCII. More... | |
void | eeprom_init (void) |
This will check for DEBUG mode after power up. More... | |
void | menu_ping_request (uint8_t *val) |
This will setup a ping request command to the 1284p and reset the ping counter. More... | |
uint8_t | menu_send_ping (void) |
This will send the ping request to the 1284p via the serial port. More... | |
void | menu_stop_ping (void) |
This will stop the ping request. | |
void | menu_debug_mode (uint8_t *val) |
This will enable or disable the JTAG debug interface to allow for proper temperature sensor readings. More... | |
void | menu_read_temp (uint8_t *val) |
This will display the temperature in degrees F or C. More... | |
void | menu_display_temp (void) |
This will display the temperature in degrees F or C. | |
void | menu_clear_temp (void) |
This will clear the temperature displayed in the 4 digit LCD segments. | |
void | menu_prepare_temp (uint8_t *val) |
This will setup the current temperature for transfer to the ATmega1284p via a binary command transfer. More... | |
void | menu_stop_temp (void) |
This will stop the auto sending of temperature data. | |
This file operates the menu flow chart described in the readme notes.
This will create the proper commands needed to control the 1284p.
Definition in file menu.h.
typedef void(* tmenufunc)(uint8_t *) |
Pointer to function, used to dispatch a menu-driven function.
See tmenu_item