Greetings,
#picaxe 08m
do
for b0=0 to 100
w1=b0*b0/10
pwmout 2,249,w1
pause 5
next b0
for b0=100 to 0 step -1
w1=b0*b0/10
pwmout 2,249,w1
pause 5
next b0
loop
This little code has done wonders for me in the flashing strobes that have been on my homebuilt aircraft...