/* Notsch Chris, 31.07.2023
 * Implementation Example (main.c):
 * Required Apps: USBD_VCOM (1x)
 * XMC4700/4800 Relax Kit
 *
 * Note: You may need to refresh DAVE's autocomplete index after adding the required apps and generating the code so the required UGUI-methods are activated:
 *       --> Rightclick on the project --> Index --> Rebuild
*/

#include <DAVE.h>
#include "UGUI_Lib/UGUI_LIB.h"

UGUI_Handle_t UGUI_0;
float dummy1 = 0.0f;

int main(void)
{
    DAVE_Init();
	UGUI_Init_USBD_VCOM_Simple(&UGUI_0);

    uint16_t cmd=1;
    UGUI_RegisterProperty_RW_Float(&UGUI_0, cmd++, UGUI_DEFAULT_QUERY_OFFSET, &dummy1, 0.0f, 1.0f, "dummy");

    while (1U)
    {
        UGUI_Maintain(&UGUI_0);
    }
}
