Alain,

your web site does not work. the good one is www.electroniquepratique.com but the edition #247 is not available on the Internet...

Anyways, I've make some test on my side.

high portb.0 '0001
pause duree

low portb.0 '0010
high portb.1
pause duree

high portb.0 '0011
pause duree

low portb.0 '0100
low portb.1
high portb.2
pause duree
...
... until '1111


I want to optimize this code because it uses many many space.

I use this method :

portb=%00000000

portb=%00000001
pause duree
portb=%00000010
pause duree
portb=%00000011
pause duree
portb=%00000100
pause duree
....

That does not work ?

someone have an idea?

maybe a FOR loop could be also better!

thanks!