Back to Parent

Code

The code includes the two functions mentioned above: one touch, the other vibrate; one closer, the other glow brighter. These two functions were realized through two events mainly: "touch-vibrate" and "Creepin". Below shows the code of one board. It published two event "touch-vibrate" and "Creepin", and subscribed two event from another board "2touch-vibrate" and "2Creepin". The other board published and subscribed the opposite. So the only difference between the two board was these numbers.  


Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0