I don't know what the problem is with not being able to compile it at home...it's pretty simple, and doesn't need any addt'l files.
What version of SF are you using, and can you compile anything? Do you get any error messages?
I've not tried SF on win7, so I don't know if there's any issues there or not.
If your device and config settings work on other projects with the milennium board, two things come to mind...
Make sure the watchdog is disabled (add WDT = OFF to the config),
and you must set the output port #option BEFORE you include the file...
Code: Select all
#option _PWM_OUTPUT_PORT = PORTD
Include "spwm.bas"
See if that helps any.
Jerry