Simple example to use a Mail object in order to send complex messages from thread1 to thread2. Thread1 generates transition between random RGB colors and sends messages to Thread2. Thread2 displays the requested color on the built in RGB LED. Data items for messages are stored in a Mail object. Thread1 allocates mailbox slots, Thread2 should free up these slots after using up data stored in the slot.
History
First version
2016-02-24, by icserny [Wed, 24 Feb 2016 10:33:52 +0000] rev 1
First version
First version
2016-02-23, by icserny [Tue, 23 Feb 2016 13:32:14 +0000] rev 0
First version