New BricxCC and NBC/NXC release

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: New BricxCC and NBC/NXC release

Post 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
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
mrblp
Posts: 82
Joined: 02 Oct 2010, 14:33

Re: New BricxCC and NBC/NXC release

Post 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...
Bye Marvin

- "I think you ought to know I'm feeling very depressed." - (Android Marvin in "The Hitchhiker's Guide to the Galaxy" by Douglas Adams, 1978)
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: New BricxCC and NBC/NXC release

Post by mattallen37 »

Is there a reason you con't use the latest FW?
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
mrblp
Posts: 82
Joined: 02 Oct 2010, 14:33

Re: New BricxCC and NBC/NXC release

Post by mrblp »

Yes.
Bye Marvin

- "I think you ought to know I'm feeling very depressed." - (Android Marvin in "The Hitchhiker's Guide to the Galaxy" by Douglas Adams, 1978)
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: New BricxCC and NBC/NXC release

Post by muntoo »

mrblp wrote:Yes.
Matt's next reply will probably be:
... Which is?
:D
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: New BricxCC and NBC/NXC release

Post 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]
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: New BricxCC and NBC/NXC release

Post 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
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: New BricxCC and NBC/NXC release

Post 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 "").
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: New BricxCC and NBC/NXC release

Post 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
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: New BricxCC and NBC/NXC release

Post 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.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests