HEADS-project / training

Training material to get started with the HEADS technologies
10 stars 16 forks source link

ThingML Calculator #4

Closed mboussaa closed 9 years ago

mboussaa commented 9 years ago

This ThingML Calculator basically generates random integers within a Thing (component). This latter send a message (with the list of parameters) to a second component in order to handle arithmetic operations (+,/,*,-). The result of these operations is sent back to the initial component in order to display the result of the 4 operations. These steps are repeated recursively each 3 seconds with new generated numbers.