wishlist for BricxCC

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
fuzzball27
Posts: 103
Joined: 29 Sep 2010, 17:14
Location: US

Re: wishlist for BricxCC

Post by fuzzball27 »

I think that a full BricxCC GUI for Mac would be great. I've been using NeXT Tools, Terminal, and AppleScript for my programming, its nice, but a more organized programming environment would be excellent.
fuzzball27 >>-->
roscohead
Posts: 18
Joined: 29 Sep 2010, 03:09

Re: wishlist for BricxCC

Post by roscohead »

One thing that would be cool would be the concept of a "project", being able to attach sound & bitmap (and possibly other) files to the project and have them automatically transfer to NXT when you run the project.
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: wishlist for BricxCC

Post by afanofosc »

roscohead wrote:One thing that would be cool would be the concept of a "project", being able to attach sound & bitmap (and possibly other) files to the project and have them automatically transfer to NXT when you run the project.
You can do this sort of thing using the #download preprocessor directive in a NXC or NBC program. The compiler will gather a list of all the files specified in the #download lines that it finds and they will be downloaded to the NXT along with the program being downloaded. If you just compile but do not download the program then nothing is downloaded.

Code: Select all

#download "smile.ric"

task main()
{
  GraphicOut(0, 0, "smile.ric");
  while(true);
}
John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: wishlist for BricxCC

Post by afanofosc »

nxtboyiii wrote:Can you put object-orientation on the list?
This would be an NXC wish, I think, so it probably belongs on the wishlist for NXC thread. But I would safely bet that I will not be adding object orientation features to NXC any time soon. You can get that in leJOS and NXTOSEK and I would recommend using those tools if that is what you want.

John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
nxtboyiii
Posts: 366
Joined: 02 Oct 2010, 07:08
Location: Everywhere

Re: wishlist for BricxCC

Post by nxtboyiii »

Ok, thanks.
Yeah, a Bricxcc GUI for mac would be awesome.
Thanks, and have a nice day,
nxtboy III

programnxt.com
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Projects

Post by muntoo »

roscohead wrote:One thing that would be cool would be the concept of a "project", being able to attach sound & bitmap (and possibly other) files to the project and have them automatically transfer to NXT when you run the project.
I would like the "project" thing, too.
I could set breakpoints, manage multiple files in a explorer window, etc.
Image

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


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: wishlist for BricxCC

Post by muntoo »

Can you improve the editor?
I would like auto-indentation. Also, with the following preferences selected (in the .zip)
BricxCCPreferences.zip
(421.88 KiB) Downloaded 432 times
, it's hard to use tabs. (Each tab is worth ONE space...)

--

I think that the "With grouped undo" should be selected by default.

--

Also, is it possible to implement BTConnectionLinkQuality()?

--

AND ONLY JOHN HANSEN CAN ANSWER! ;) (JK)
(Not that anyone can answer the first question, besides him... I think.)
Image

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


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: wishlist for BricxCC

Post by afanofosc »

If "Keep trailing blanks" is not selected then when you tab on a blank line it strips the trailing blanks (which it probably should not). With this option selected you should see tabs working like you want. Auto-indentation only indents to the same level as the previous line - not to an additional level of indentation when you press enter after an open (aka left) curly brace. What you want is language-specific "smart" indenting (that's what Visual Studio calls it, anyway).

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: wishlist for BricxCC

Post by mattallen37 »

Well, for the "Tab", you can adjust how many spaces it does. I have mine set to two, but you could do three or four...
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: wishlist for BricxCC

Post by afanofosc »

muntoo wrote: Also, is it possible to implement BTConnectionLinkQuality()?
It is possible but not trivial or I would have done it already. I'll see if I can figure it out.

John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 10 guests