Morning
I have an old 28 module with firmware v1 B.1
looking at the current datsheet it has 4 PWM pins C.1, C.2 B.0 and B.5
I wish to use this old module to drive some RGB leds as i wish to make use of it compact size and voltage regulation.
This is my test code to make a greenish colour
symbol R_LED = c.1
symbol G_LED = c.2
symbol B_LED = B.0
for b3 = 1 to 3000
pwmout R_LED ,185, 50
pwmout G_LED , 199, 50
pwmout B_LED , 58,50
next b3
When checking the synatx it tells me it ok
But when programming the module i get an error
pwnout not supported on this pin in this firmware version (Firmware >=VB.3)
when using a new module it works fine.
So, am i able to find an old datasheet to see if the PWM pinouts have changed, or am i amble to use a different code.
Many thanks
Andy
I have an old 28 module with firmware v1 B.1
looking at the current datsheet it has 4 PWM pins C.1, C.2 B.0 and B.5
I wish to use this old module to drive some RGB leds as i wish to make use of it compact size and voltage regulation.
This is my test code to make a greenish colour
symbol R_LED = c.1
symbol G_LED = c.2
symbol B_LED = B.0
for b3 = 1 to 3000
pwmout R_LED ,185, 50
pwmout G_LED , 199, 50
pwmout B_LED , 58,50
next b3
When checking the synatx it tells me it ok
But when programming the module i get an error
pwnout not supported on this pin in this firmware version (Firmware >=VB.3)
when using a new module it works fine.
So, am i able to find an old datasheet to see if the PWM pinouts have changed, or am i amble to use a different code.
Many thanks
Andy