Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [programming]

Questions about programming the various LEGO programmable bricks, including Mindstorms (EV3, NXT, and RCX), Wedo and Scout, in either the provided languages and editors, or more advanced languages.

4
votes
0answers
582 views

Daisy chaining EV3 with RobotC

I'm trying to run EV3 programs with RobotC and trying run on EV3 Daisy Chaining. I have three independent EV3 bricks labelled A,B,C. I want, according to the color reading by the color sensor on ...
2
votes
0answers
46 views

How to mirror an EV3 motor?

I want to get one EV3 large motor to copy the other. So if I move one half a rotation the other copies.
2
votes
0answers
35 views

NXT Mindstorms software glitch

My FLL team was doing some practice programming exercises this morning. One group wrote a program using color sensors, no issue. The next group opened a new program window and attempted to open a ...
2
votes
0answers
233 views

Creating custom blocks using EV3 block developer kit

I am trying to develop a custom block using ev3 block development kit but i get nowhere. I created the XML files according to the documentation and the VIX file but it does not compile, I cannot ...
2
votes
0answers
1k views

Bluetooth connection to EV3 from Java on Linux/Android

I would like to connect to my EV3 from PC (and then Android) via Bluetooth. I was able to connect to NXT with LEGO-MINDSTORMS-MINDdroid which uses direct LCP commands but as far as I know the ...
2
votes
0answers
182 views

NXT (NXC) Programs are too slow

I am using Bricx Command Center to write some NXC code for a side project. I am working with the MindSqualls C# Library in Unity and am trying to figure out some ways to use the NXT robots in an event-...
2
votes
0answers
337 views

How to determine orientation of a EV3 gripper?

I have built the EV3 Gripper using the manual. I am programming an ev3 brick using ev3dev. I need to determine the angle/direction/orientation of the robot programmatically, before I can issue a ...
2
votes
0answers
203 views

After adding a MyBlock icon to the EV3 palette of MyBlock icons, how can the new icon be associated to an existing MyBlock?

After following the advice given in adding a MyBlock icon to the EV3 palette, can the icon be associated to an existing MyBlock? Something better than copy/paste the contents of the existing MyBlock ...
1
vote
0answers
14 views

iNXTG app programming NXT from ipad

I'm trying to find the old iNXTG to program NXT bricks via iPad but it is no longer available in the Apple Store. Does anyone know if there exists an archive for programs like that? The problem is ...
1
vote
0answers
64 views

Function in EV3 Basic

I have been programming in basic for ~30 years. I want a translation of the following code into EV3 Basic: function index( x , y ) return x + y * ( maxx , + 1 end function sub look for i = 0 ...
0
votes
0answers
26 views

LEGO train 7898 Arduino Library?

So I want to control the green 7898 train with an Arduino, but the library I have installed doesn't support this specific train. My question is if anyone knows a library that does?
0
votes
0answers
290 views

Loop interrupt stops all loops, not just the one designated

I have been using loop interrupts for a while, and not had an issue... until now. And it is driving me nuts. The program has 2 main loops, titled "touch" and "end" with two more nested in the "touch" ...