Hi
I tried to use HPWM command and this error came up.
error:macro HPWM?tcc not found im macro file.
Do I have a corrupt file or what I'm using a 18F458. I've never had problems with any other commands before here is my code.
Define OSC 20 'OSC (20Mhz)
Include "modedefs.bas" 'Includes Definitions.
INTCON = %00000000 'Turns off all Interrupts.
ADCON0.0 = 1 'Turns off A/D Module
ADCON1 = 6 'Turns PortA and PortE to Digital Pins
'Defines wait time for PulsIn.
TrisB.1 = 0
Define Loader_USED 1
HPWM PortD.7,127,5600
Main:
PortB.1 = 1
Pause 1000
PortB.1 = 0
Pause 1000
Goto Main
Am I missing a define or an include. I thought maybe I got a virus or something that screwed of a file so I reloaded PBP 2.44 and had the same problem.
please help
thanks
Bookmarks