Microchip® Advanced Software Framework

demo.h File Reference

Interface of the demo main functions.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.


void demo_automatic_ledshow_play (int repeat)
 Prologue of the demo. More...
void demo_init_pwma (void)
 Initialize the PWMA module for the demo. More...
void process_qtouchlib_data (void)
 Process the latest qtouchlib data. More...

void demo_automatic_ledshow_play ( int  repeat)

Prologue of the demo.

All 4 LEDs blink n(=repeat) times simultaneously with PWM fading effect.

References current_led, delay_ms, duty_cycles_per_led, i, max, min, PWMA_DUTY_CYCLE_INCREASE, PWMA_DUTY_CYCLES_STEP, PWMA_MAX_DUTY_CYCLES, PWMA_MIN_DUTY_CYCLES, and pwma_set_channels_value().

Referenced by main().