In this lesson we talk about how to create arrays of different types (indexed and associative) , how to store values in arrays, how to use arrays in conjunction with a for loop and a foreach loop.
In this lesson we talk about how to create your own function. We also talk about how to specify the arguments (input variables) for the function and how to make the function return a value (output).
In this lesson we talk about some built-in functions that come with PHP – including mathematical functions such as cos(), log(), rand() to generate random numbers, and string functions including strtoupper(), substr() to convert string to lower/upper case and to display parts of a string.
In this lesson we talk about what For loops are, and how to use a For Loop to achieve the same thing we did with the while loop. We also talked about how to round numbers using the round function.
In this lesson we talk about while loops, how they work and how to code it in PHP. We use a while loop to set up a compound interest calculator.
In this tutorial we talk about the if statement as well as comparison operators. We also talk about else and elseif statements to be used in conjunction with the if statement.
So in this tutorial I show you how to get one NXT brick to communicate to another NXT brick via Bluetooth. To be more specific, I rotate a motor on the first NXT brick and this results in the motor on the other NXT brick to rotate. So effectively you could use one NXT brick …
I challenge you to program a robot that measures your height! Here is how I’ve done it. Comment once you have completed my challenge! I’ll make the solutions tutorial video soon.
This is actually mission 6 in the original activity but I decided to do it third, because the programming is pretty simple. In this video I show you how to program the robot.
This is actually mission 3 in the activity pack but I think it should be mission 2 in terms of difficulty. We show you a time lapse of the construction of the raised platform and the MSL robot, then I show you how to program your robot to climb the platform and hook the MSL …