Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
I'm trying to learn and understand more of the MSPM0 boards. I'm attempting to use a potentiometer to adjust the toggle speed of the RGB LED to switch between R, G and B. Currently, the pot is connected to ground, 3.3v and PA25. I've set the ADC12 to channel 2 and conversion memory 0. I've attempted it with two different approaches, one as an ISR caused by a change in the ADC value, another where the ADC value is constantly checked from a called function. When debugged, the LED switches between R, G and B at the initial set delay rate, but adjusting the pot does not result in any change to the toggle speed. Any help on the matter would be greatly appreciated.
ISR code: