I am using the lego PoweredUp app on my iPad, I can run the trains using the
Play and Create feature, with colour sensors, etc.
However, I cannot work out how to have two or more trains running at the same
time. I have both trains' hubs connected by Bluetooth, but when I run one
train in either Play or Create, and then come out of Play or Create, the train
stops.
I am using the latest version of the app, which is far newer than all of the
YouTube videos and helps out there, which are three or four years old. For instance,
the app now has two icons with a WiFi symbol, which I can't find any info
about, and the older apps seemed to have different coloured tabs, including a
white one, which is not in the new version.
So, how can I code up using the Create option so that I can run more than one
train at a time? Does any icon allow you to address which train to manage?
I am only looking at this app at this time, and not Pybricks, by the way.
The powered up app had a update that killed a lot of features so maybe that was
one of them.
Haven't checked the last update so maybe something changed.
In Help, BrickLegend64 writes:
Hi,
I am using the lego PoweredUp app on my iPad, I can run the trains using the
Play and Create feature, with colour sensors, etc.
However, I cannot work out how to have two or more trains running at the same
time. I have both trains' hubs connected by Bluetooth, but when I run one
train in either Play or Create, and then come out of Play or Create, the train
stops.
I am using the latest version of the app, which is far newer than all of the
YouTube videos and helps out there, which are three or four years old. For instance,
the app now has two icons with a WiFi symbol, which I can't find any info
about, and the older apps seemed to have different coloured tabs, including a
white one, which is not in the new version.
So, how can I code up using the Create option so that I can run more than one
train at a time? Does any icon allow you to address which train to manage?
I am only looking at this app at this time, and not Pybricks, by the way.
I found the answer, but yes, I did see some features went. Thank you.
In Help, Saitobricks.ca writes:
The powered up app had a update that killed a lot of features so maybe that was
one of them.
Haven't checked the last update so maybe something changed.
In Help, BrickLegend64 writes:
Hi,
I am using the lego PoweredUp app on my iPad, I can run the trains using the
Play and Create feature, with colour sensors, etc.
However, I cannot work out how to have two or more trains running at the same
time. I have both trains' hubs connected by Bluetooth, but when I run one
train in either Play or Create, and then come out of Play or Create, the train
stops.
I am using the latest version of the app, which is far newer than all of the
YouTube videos and helps out there, which are three or four years old. For instance,
the app now has two icons with a WiFi symbol, which I can't find any info
about, and the older apps seemed to have different coloured tabs, including a
white one, which is not in the new version.
So, how can I code up using the Create option so that I can run more than one
train at a time? Does any icon allow you to address which train to manage?
I am only looking at this app at this time, and not Pybricks, by the way.
I am using the lego PoweredUp app on my iPad, I can run the trains using the
Play and Create feature, with colour sensors, etc.
However, I cannot work out how to have two or more trains running at the same
time. I have both trains' hubs connected by Bluetooth, but when I run one
train in either Play or Create, and then come out of Play or Create, the train
stops.
I am using the latest version of the app, which is far newer than all of the
YouTube videos and helps out there, which are three or four years old. For instance,
the app now has two icons with a WiFi symbol, which I can't find any info
about, and the older apps seemed to have different coloured tabs, including a
white one, which is not in the new version.
So, how can I code up using the Create option so that I can run more than one
train at a time? Does any icon allow you to address which train to manage?
I am only looking at this app at this time, and not Pybricks, by the way.
Thank you for your help.
B
Have you tried using the Powered Up Remote Control to run the trains?
Yes, but I want to save on batteries and run them from one app. Thanks
In Help, DanialR writes:
In Help, BrickLegend64 writes:
Hi,
I am using the lego PoweredUp app on my iPad, I can run the trains using the
Play and Create feature, with colour sensors, etc.
However, I cannot work out how to have two or more trains running at the same
time. I have both trains' hubs connected by Bluetooth, but when I run one
train in either Play or Create, and then come out of Play or Create, the train
stops.
I am using the latest version of the app, which is far newer than all of the
YouTube videos and helps out there, which are three or four years old. For instance,
the app now has two icons with a WiFi symbol, which I can't find any info
about, and the older apps seemed to have different coloured tabs, including a
white one, which is not in the new version.
So, how can I code up using the Create option so that I can run more than one
train at a time? Does any icon allow you to address which train to manage?
I am only looking at this app at this time, and not Pybricks, by the way.
Thank you for your help.
B
Have you tried using the Powered Up Remote Control to run the trains?
So, how can I code up using the Create option so that I can run more than one
train at a time? Does any icon allow you to address which train to manage?
Note: I'm using the Android app v4.0.3 with a "Default Palette Level"
setting of "Advanced". YMMV.
Under the Math category (5th icon, I think it's a minimalist abacus?), the
first codeblock should have an icon like a pair of hubs. It has two inputs and
one output.
The first input is hub number, which is based on the order you connected
the hubs to your device in your current app session. You can name specific
hubs (I'm not sure if they stick from program to program), but "HUB2"
is whichever hub you connected second. You can reorder the hubs (change their
"numbers" by tapping the Bluetooth icon in program-edit mode and dragging
them up and down the list. At least for Android, it's supposed to support
up to 4 hubs simultaneously.
The second input is for motor port, which is the same as on any normal motor
control codeblock.
The output goes into the motor selection input on any motor control codeblock
to override its default of controlling some motor connected to HUB1.
Yes, that is where I found it, thank you! I did find it myself, but your help
is much appreciated. I don't get these replies emailed to me. So I only just
noticed them when I came in to report my findings. Cheers.
In Help, trainphreak writes:
So, how can I code up using the Create option so that I can run more than one
train at a time? Does any icon allow you to address which train to manage?
Note: I'm using the Android app v4.0.3 with a "Default Palette Level"
setting of "Advanced". YMMV.
Under the Math category (5th icon, I think it's a minimalist abacus?), the
first codeblock should have an icon like a pair of hubs. It has two inputs and
one output.
The first input is hub number, which is based on the order you connected
the hubs to your device in your current app session. You can name specific
hubs (I'm not sure if they stick from program to program), but "HUB2"
is whichever hub you connected second. You can reorder the hubs (change their
"numbers" by tapping the Bluetooth icon in program-edit mode and dragging
them up and down the list. At least for Android, it's supposed to support
up to 4 hubs simultaneously.
The second input is for motor port, which is the same as on any normal motor
control codeblock.
The output goes into the motor selection input on any motor control codeblock
to override its default of controlling some motor connected to HUB1.
UPDATE: I have found the answer. The first icon in the "Math" group of
icons allows you to select between up to four different Bluetooth connected hubs.
That simple!
Thank you to all who took the time to offer helpful suggestions.
B
In Help, BrickLegend64 writes:
Hi,
I am using the lego PoweredUp app on my iPad, I can run the trains using the
Play and Create feature, with colour sensors, etc.
However, I cannot work out how to have two or more trains running at the same
time. I have both trains' hubs connected by Bluetooth, but when I run one
train in either Play or Create, and then come out of Play or Create, the train
stops.
I am using the latest version of the app, which is far newer than all of the
YouTube videos and helps out there, which are three or four years old. For instance,
the app now has two icons with a WiFi symbol, which I can't find any info
about, and the older apps seemed to have different coloured tabs, including a
white one, which is not in the new version.
So, how can I code up using the Create option so that I can run more than one
train at a time? Does any icon allow you to address which train to manage?
I am only looking at this app at this time, and not Pybricks, by the way.