I always used programming languages such as C++ or Java. I decided to put some effort to share my experiences with EV3 software... which are not so good.
I spent about an hour to findout how increment variable, even tried to use Google to find solution. In C++ you can just use someting like this:
int var = 0;
var++;
and that's it. Here you need to use variable block twice (for read and write) and block which adds 1 to this variable.
Anyway.... here is what I did and it works:
Here is link to project, which will play simple music.
incrementation.ev3
No comments:
Post a Comment