PWMDuty Symbol

JoeFromOzarks

Senior Member
Howdy folks! :)

Honestly, my brain has completely broken down. Please tell me what I'm missing here:

Code:
#PICAXE 20M2
#no_end
#no_data
SETFREQ m32


SYMBOL oOutPin = b0
SYMBOL wValue  = w1
LET oOutPin = b.1

' This passes syntax
pwmout pwmdiv4, oOutPin, 199, wValue

' This passes syntax
PWMDuty b.1,wValue

' This does not pass syntax
PWMDuty oOutPin,wValue
' This does not pass syntax
PWMDuty oOutPin,wValue



How come, why for? I missed my afternoon nap, but surely that's not the problem!! :)


Thank you!!

:) joe
 
Top