This file operates the menu flow chart described in the readme notes. More...
#include <avr/eeprom.h>#include <util/delay.h>#include "menu.h"#include "main.h"#include "lcd.h"#include "key.h"#include "uart.h"#include "sleep.h"#include "temp.h"#include "beep.h"Go to the source code of this file.
Functions | |
| void | dectoascii (uint8_t val, char *str) |
| This function will convert decimal to ascii. | |
| uint8_t * | signed_dectoascii (int16_t n, uint8_t *str) |
| This will convert a signed decimal number to ASCII. | |
| void | eeprom_init (void) |
| This will check for DEBUG mode after power up. | |
| void | menu_run_sleep (uint8_t *val) |
| This will start a sleep operation. | |
| void | menu_run_doze (uint8_t *val) |
| This will start a sleep with wakes for temperature measurement and web requests. | |
| void | menu_ping_request (uint8_t *val) |
| This will setup a ping request command to the 1284p and reset the ping counter. | |
| uint8_t | menu_send_ping (void) |
| This will send the ping request to the 1284p via the serial port. | |
| 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. | |
| void | menu_read_temp (uint8_t *val) |
| This will display the temperature in degrees F or C. | |
| 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. | |
| void | menu_stop_temp (void) |
| This will stop the auto sending of temperature data. | |
| void | menu_send_temp (void) |
| This will send the data via the serial port. | |
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.c.
1.6.1