View previous topic :: View next topic |
Author |
Message |
tavioman
Joined: 22 Feb 2006 Posts: 65
|
PIC18F1230/1330 |
Posted: Wed Jun 20, 2007 6:49 am |
|
|
I'm using 4.032 Version of CCS compiler and in project wizard there is no set-up for PWM modules of PIC18F1230/1330.
Sould I base my PWM control on manual writing the code or upgrade to a newer version? |
|
|
Ttelmah Guest
|
|
Posted: Wed Jun 20, 2007 7:13 am |
|
|
Look under 'other' in the Wizard.
However manual is much safer (the wizard, makes some 'corking' errors)...
Best Wishes |
|
|
tavioman
Joined: 22 Feb 2006 Posts: 65
|
other |
Posted: Wed Jun 20, 2007 7:20 am |
|
|
I have seen the "other" tab. But I cannot set anything there. |
|
|
Ttelmah Guest
|
|
Posted: Wed Jun 20, 2007 9:49 am |
|
|
Um. It goes wrong for me, but does work as far as it gets. You have to select 'CCP1' in the pull down, and PWM, then becomes available. The problem is that it then puts up a window to input the required frequency, and gets hung at this point, but the selections are available up to here.
However I don't consider the Wizard much good at all, and have not used it, except to test things like your question, for years. At the end of the day, the settings it generates are so often wrong, that it is more work to use it, than to simply enter the lines yourself....
This after all, is just a small bit of configuration, but is stuff that you need to know and understand for the program itself latter on.
Best Wishes |
|
|
tavioman
Joined: 22 Feb 2006 Posts: 65
|
|
Posted: Wed Jun 20, 2007 10:20 am |
|
|
Thanks for your answer. I'll use my fingers this time. |
|
|
|