Hi Folks..
Following on from my lighthouse/buoyage chart picture, I decided to go with a mixture of 08M2 and 14M2's and at present all works.
I've been looking at using the pwmout command to simulate the flashing sequence of the lighthouse and using the PWM code attached, it works - a nice ramp up and ramp down effect rather than a straight on-off sequence BUT
if I add in a second led to pin 2, it appears to revert the pwm pin back to a straight on/off sequence.
Any pointers as to what I have done wrong.
Declan
Following on from my lighthouse/buoyage chart picture, I decided to go with a mixture of 08M2 and 14M2's and at present all works.
I've been looking at using the pwmout command to simulate the flashing sequence of the lighthouse and using the PWM code attached, it works - a nice ramp up and ramp down effect rather than a straight on-off sequence BUT
if I add in a second led to pin 2, it appears to revert the pwm pin back to a straight on/off sequence.
Any pointers as to what I have done wrong.
Declan
Attachments
-
333 bytes Views: 19