Pwmout On More Than One Pin

ashleylad

Member
Hi all got a couple of 08M and 14M chips and been playing with PWMOUT command, to make an LED beacon effect. If I want to drive two outputs the same can I do this on a 08M chip or 14M chip?? Or could I drive a transistor and couple two leds on the output with suitable limiting resistors?

cheers

Ash
 

westaust55

Moderator
PWMout is limited to certain pins on the PICAXE chips as detailed in PICAXE manual 2 page 140.

For the 08M and 14M it states:

- Pin is a variable/constant which specifies the i/o pin to use. Note that the
pwmout pin is not always a default output pin - see the pinout diagram.
08M/14M - 2
18M/18X - 3
20X2 - C.5
28X/X1 40X/X1 - 1 or 2
28X2 40X2 - C.1 or C.2

For the 08M that is IO pin2 and for the 14M that in input 2

If you need to drive multiple devices then you need (as you mention) an external circuit such as a transistor or chip if you need extra current drive capacity.
 
Top