Search found 16 matches

by elendurwen
29 Mar 2013, 19:19
Forum: Mindstorms Projects
Topic: RELEASED: NXTPong
Replies: 1
Views: 4498

RELEASED: NXTPong

NXTPong is a Pong game coded in NXC. I created custom-build lego controllers for two players and connected them to the NXT brick. Video, building instructions and code are available on my web site: http://lenkaspace.net/index.php/lab/leg ... ms/nxtPong. Enjoy!
by elendurwen
26 Nov 2012, 12:08
Forum: Mindstorms Software
Topic: Real time data monitoring from a computer
Replies: 2
Views: 5135

Real time data monitoring from a computer

I need my nxc program to be able to send some data to my mac in real time, wirelessly. Is there any way of doing this? I guess bluetooth would be hardware option (are the nxt bricks equipped with bluetooth by default?) but how about software? Ideally I would have a program running on my computer to ...
by elendurwen
25 Jun 2012, 18:03
Forum: Mindstorms Software
Topic: Using structs with arrays
Replies: 2
Views: 3455

Using structs with arrays

Hi, I want to use an array of structs where each struct can have an array of integers. I can set the values of everything ok, but when I try to access the values I get a crash and 'File error! -1' displayed on the screen. The struct looks like this: struct SensorHandler { int id; int cellTargetIds[2...
by elendurwen
15 Apr 2012, 09:12
Forum: Mindstorms Software
Topic: RELEASED: NXC UserInteraction Library
Replies: 21
Views: 22267

Re: RELEASED: NXC UserInteraction Library

Of course, that's why I made it - for others (and me) to use :) Credit would be nice, thanks.
by elendurwen
13 Mar 2012, 07:37
Forum: Mindstorms Software
Topic: RELEASED: NXC UserInteraction Library
Replies: 21
Views: 22267

Re: RELEASED: NXC UserInteraction Library

Glad to hear that
by elendurwen
12 Mar 2012, 20:35
Forum: Mindstorms Software
Topic: RELEASED: NXC UserInteraction Library
Replies: 21
Views: 22267

RELEASED: NXC UserInteraction Library Version 1.2

There is a new version 1.2 of the UIn library that has the following changes to it: http://lenkaspace.net/lab/legoMindstorm ... ionHistory

You can download the library from http://lenkaspace.net/lab/legoMindstorm ... ionLibrary
by elendurwen
09 Mar 2012, 17:47
Forum: Mindstorms Software
Topic: RELEASED: NXC UserInteraction Library
Replies: 21
Views: 22267

Re: RELEASED: NXC UserInteraction Library

Hi, thanks for testing. I designed those constants for people to change but your way seems to be more logical to use. I will update this forum with a new release soon.
by elendurwen
09 Mar 2012, 16:46
Forum: Mindstorms Software
Topic: RELEASED: NXC UserInteraction Library
Replies: 21
Views: 22267

RELEASED: NXC UserInteraction Library Version 1.1

A new and improved version of the UIn library can be downloaded from here: http://lenkaspace.net/lab/legoMindstorms/nxcUserInteractionLibrary The main changes include addition of automatic text line breaks and a multiple info dialog. Full changes log can be found on http://lenkaspace.net/lab/legoMin...
by elendurwen
02 Mar 2012, 19:26
Forum: Mindstorms Software
Topic: RELEASED: NXC UserInteraction Library
Replies: 21
Views: 22267

Re: RELEASED: NXC UserInteraction Library

Hi, thanks a lot was planning on getting down to it this weekend actually but this helps. I wanted to incorporate the split string algorithm in the drawAlignedText function so that all other functions automatically pick it up. Will have a look at your code in details and see what I can do. I'd like ...
by elendurwen
23 Feb 2012, 08:26
Forum: Mindstorms Software
Topic: RELEASED: NXC UserInteraction Library
Replies: 21
Views: 22267

Re: RELEASED: NXC UserInteraction Library

That looks useful, no there is nothing this specific in the library. It could be achieved by using multiple calls to createQuestionDialog but having the code behind do you job looks better, since in this case your answers and actions follow a pattern that can be automated. I will certainly include i...