Page 3 of 5
Re: New BricxCC and NBC/NXC release
Posted: 16 Mar 2011, 12:53
by afanofosc
SetMotorRegulationTime(ms) should let you set the motor regulation time. It has an alias from earlier firmware versions called SetPwnFreq(ms) which I had previously repurposed (since it was unused) to set the regulation time.
I really am not sure what the regulation option does (there is only one at the moment).
John Hansen
Re: New BricxCC and NBC/NXC release
Posted: 16 Mar 2011, 19:52
by mrblp
Hello John,
Great news - thank you
There is one question left: May the new nxc version be used with "-EF" and a v1.28 extended firmware? That older efw does not support all of those new motor regulation features of the new nxc version. What do I have to keep in mind when I want to use the new nxc version with an v1.28 ef?
I know there will be not many people asking this - but you remember my customized efw
Thank you for your answer
Bye - marvin
PS: Yes, you will get the files of that optimizing "problem" - I am just a little tired at the evening at the moment...
Re: New BricxCC and NBC/NXC release
Posted: 16 Mar 2011, 20:53
by mattallen37
Is there a reason you con't use the latest FW?
Re: New BricxCC and NBC/NXC release
Posted: 16 Mar 2011, 21:02
by mrblp
Yes.
Re: New BricxCC and NBC/NXC release
Posted: 16 Mar 2011, 22:08
by muntoo
mrblp wrote:Yes.
Matt's next reply will probably be:
... Which is?
Re: New BricxCC and NBC/NXC release
Posted: 16 Mar 2011, 23:04
by mattallen37
~@muntoo Actually, no. He said there is a reason, so I conclude that based on what he previously said, he modified 1.28efw, and wants to use that instead of John's newest efw.[quote"mrblp"]...but you remember my customized efw...PS: Yes, you will get the files of that optimizing "problem" - I am just a little tired at the evening at the moment...[/quote]
Re: New BricxCC and NBC/NXC release
Posted: 17 Mar 2011, 00:01
by afanofosc
So long as you do not use any of the API functions in the latest release which require the most recent release of the enhanced NBC/NXC 1.31 firmware then you should not have any trouble with your programs running fine on the 1.28 firmware. I did not make any compiler changes that would break backward compatibility, to the best of my knowledge.
John Hansen
Re: New BricxCC and NBC/NXC release
Posted: 18 Mar 2011, 03:24
by mattallen37
NQCDefs.h apparently is not included in the new release. I opened an NQC program (60% of the time it crashes when trying to open one), and it doesn't color anything. The only thing the color menu does, is allows me to adjust "comments" settings (for NQC). How do I make it like the older versions, that fully supported NQC?
Edit: Actually, preprocessors are also colored, as well as numbers and fields (text in "").
Re: New BricxCC and NBC/NXC release
Posted: 18 Mar 2011, 04:02
by afanofosc
I didn't make any changes to NQC support. I can't say what might be going wrong for you right now. When I open 1_simple.nqc it opens fine and all the help seems to work along with the templates, code completion, and syntax highlighting.
John Hansen
Re: New BricxCC and NBC/NXC release
Posted: 18 Mar 2011, 04:12
by mattallen37
I just opened it, and it doesn't highlight it. Also, when I attempted to open another example, it crashed again.
Templates are fine, and it compiles/downloads/runs fine. The various tools also work fine.