Help please.Softstart /Softstop

ernest

Member
Hello All
I use Picaxe with my Meccano hobby, it`s alot of fun.
Picaxe 18x High Power Board CHI035.
I would like to use PWM with 18x but can`t change pin3 to 4,5,6,or7.
If it`s possible, the code please.

---------
I have made up SoftStart/Stop using pulsout and a analog Volt meter.
I can change the outputpin with pulsout. It`s a bit rough but it works.
'SOFTSTART5
Low 4
pause 100
w0=0 'set the first pulse
w1=0 'set the Do count to 0
w4=18 'set the pause time
Do
Inc w1 'adds 1 to count the number of pulses
Dec w4 'decrease the pules time by 1
w0=w0+200 'increase the pules time by 200
pulsout 5,w0 'sends pulsout on output pin5
pause w4 'pause decreasing between pulses
Loop until w1=18 'sets the number of pulses tobe counted
w0=0
w1=0
High 5
Thanks Brian
 

hippy

Technical Support
Staff member
Due to the silicon design of the 16F88 chip which the PICAXE-18X is built upon, it is not possible to change the PWMOUT pin from 3 to any other pin. This is an issue beyond our control.
 
Top