2017-05-24 01:59 AM
Hello. We are trying to set a pin's light to increase and decrease progressively, should work as a heartbeat. Could you please tell us how we could do this? We've searched a few hours already, but could not find anything useful. Where should we look? what should we modify? thank you very much!
2017-05-24 02:21 AM
PWM for instance.
For projects I dealt with, these had been already too much effort for a heartbeat signal.
I simple blinking LED would do as well.
2017-05-24 02:24 AM
Maybe an inspiration:
http://www.efton.sk/STM32/breathl4.zip
=>Beware, barebones, on a 'L4 DISCO.
JW