This example sets up the PLL in x10/2 mode, divides SYSCLKOUT by six to reach a 25Mhz HSPCLK (assuming a 30Mhz XCLKIN). The
clock divider in the ADC is not used so that the ADC will see the 25Mhz on the HSPCLK. Interrupts are enabled and the EVA is setup to generate a periodic ADC SOC on SEQ1. Two channels are converted, ADCINA3 and ADCINA2.
This program sets up the EV timers (TIMER1, TIMER2, TIMER3 and TIMER4) to generate T1PWM, T2PWM, T3PWM, T4PWM and PWM1-12 waveforms. The user can then observe the waveforms using an scope.
This program sets up EVA Timer 1, EVA Timer 2, EVB Timer 3 and EVB Timer 4 to fire an interrupt on a period overflow. A count is kept each time each interrupt passes through the interrupt service routine. EVA Timer 1 has the shortest period while EVB Timer4 has the longest period.
This program sets up EVA Timer 1, EVA Timer 2, EVB Timer 3 and EVB Timer 4 to fire an interrupt on a period overflow. A count is kept each time each interrupt passes through the interrupt service routine.
A simple object to store a color and perform Hex/RGB conversions.
methods included
ColorSetRGB - ColorGetHex
RGBToHex(r, g, b)
hexToRGB(hex)
ColorBlend(colorFrom, colorTo)
ColorBlendGetColor(alpha)
ColorBlendToString()