I am totally confused and tired (it’s very late here). I have an existing NETMF STM32F405 project that I am trying to convert to TinyCLR OS. So far I have been able to convert everything (Registers, CAN, Watchdog, Serial IO) but not LEDs. My LEDs are PWM (so I can pulse them) and I can’t figure out how to convert NETMF PWM to TinyCLR OS PWM. I have 3 LEDS as outlined below as they are in NETMF:
- Red - PWM_1, PA7, Pin 23, TIM14_CH1
- Blue - PWM_4, PB0, Pin 26, TIM3_CH3,
- Green - PWM_5, PB1, Pin 27, TIM3_CH4
I have tried everything I can think of using the TinyCLR OS Pwm class and can’t get anything to work. There doesn’t seem to be any corresponding mapping between the two OS’s. I have flashed my processor with the FEZCerberus.0.5.0 firmware.
Any help will be most appreciated. - Thanks.