Array in mblock


#1

i want to declare an array in Mblock eg: int a[i];
What do I need to do?
help me, please!!! thanks


#2

Hi Linux,

In Python or with Blocks???


#3

Hi Linux,

in mBlock 3 (Arduino) or in mBlock 5 (Python)?

There are different solutions.

Please see:

http://www.prof-horst-guenther.de/mbot/ (in German).
There is also a machine translation in English:
http://www.prof-horst-guenther.de/mbot/?English_Version


#4

with block


#5

i use mblock 5, but i want programming with block (arduino)


#6

Hi Linux,

Just use the variable block and make a list. Since you want to use an Arduino device, it’s probably to keep the state of your pins??? (with 0 and 1 ???).

Here’s how and when you need help with the program, we remain available…


#7

hhmmm… it’s just in LIVE mode… I’ll look a little further


#8

It’s impossible in UPLOAD mode… you have to go to Python…


#9

I’m on fire… I found… I’m going to do some screen prints


#10

Ok, I don’t know how to use them but Makeblock has created 2 extensions for the Array
0

Here’s how to get them


#11

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.