Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: C12832_lcd MMA7660 USBDevice mbed
user_interface.h
00001 /******************************************************************************* 00002 * Mangages LCD display, joystick and accelerometer for user interface. 00003 * Bryan Wade 00004 * 27 MAR 2014 00005 ******************************************************************************/ 00006 #ifndef USER_INTERFACE_H 00007 #define USER_INTERFACE_H 00008 00009 #include "effects.h" 00010 00011 // Initialize module. 00012 void UI_Initialize(void); 00013 00014 // Update the display and poll all input devices. 00015 void UI_Update(int32_t bufferLevel); 00016 00017 // Get the effect mode selected by joystick. 00018 effect_mode_t UI_GetEffectMode(void); 00019 00020 // Get the effect gain selected by accelerometer tilt. 00021 uint16_t UI_GetEffectGain(void); 00022 00023 #endif
Generated on Thu Jul 14 2022 01:44:22 by
1.7.2