I'm just getting started in this, be gentle 🙂
I ordered my SS24 boards yesterday, and just loaded renard-20071209.asm into MPLab to have a look at it.
The question I have is in the defines at the beginning. The section of code is:
;; PWM_build can be either 0 or 1
#define PWM_build 0
;; DC_build can be either 0 or 1 (it should be 0 if PWM_build is 0)
#define DC_build 0
From what I have read on the Wiki, I want the full PWM signal as about 90% of my lights are LED. I'm planning to put terminating resistors on the LED strings.
So, with that in in mind I want the PWM_build #define to be = 1 (ie. #define PWM_build 1) and I should leave the DC build as 0. Is this correct?
Any help would be appreciated. I was looking at the code and it SEEMED to be doing what I want, but some sections (mostly ELSES) were left out when I thought they should be in the compile.
Thanks,
Andy
You are correct.
Here are some videos for working with the ASM file and PIC programming.
http://doityourselfchristmas.com/forums/showthread.php?t=490
Does anyone have a copy of the HEX file of (PWM_build #define to be = 1)?
I need that to drive my LED strings, instead of dealing with asm file.
Dragon88 wrote:Does anyone have a copy of the HEX file of (PWM_build #define to be = 1)?
I need that to drive my LED strings, instead of dealing with asm file.
Sounds like you have a programmer. Why don't you just download the source from the Wiki and change that yourself and compile? I'm more than happy to post it, but wondering why you just don't do it yourself?
Dealing with the ASM file is very simple. All of the settings DC, PWM and BAUD are defined at the top. Make a simple change and build. Don't be scared of it. It's real simple.
Kelly
