| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				 | 
				
					@ -73,14 +73,14 @@ chMBPost(&led_mailbox, message, timeout);
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				 | 
				
					An example:
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				 | 
				
					1. set the message to be sent. First byte (LSB) is the led address, and second is the message type
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				 | 
				
					    *`msg=(ON_LED << 8) | 42;`
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				 | 
				
					    * `msg=(ON_LED << 8) | 42;`
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				 | 
				
					2. send msg to the led mailbox
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				 | 
				
					    *`chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);`
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				 | 
				
					    * `chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);`
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				 | 
				
					Another:
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				 | 
				
					    *`msg=(BLINK_TOGGLE_LED << 8) | 46;`
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				 | 
				
					    *`chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);`
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				 | 
				
					    * `msg=(BLINK_TOGGLE_LED << 8) | 46;`
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				 | 
				
					    * `chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);`
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				 | 
				
					Finally, SET_FULL_ROW requires an extra byte with row information in the message so sending this message looks like:
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				 | 
				
					    *`msg=(row<<16) | (SET_FULL_ROW << 8) | (led_pin_byte);`
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				 | 
				
					    *`chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);`
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				 | 
				
					    * `msg=(row<<16) | (SET_FULL_ROW << 8) | (led_pin_byte);`
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				 | 
				
					    * `chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);`
 | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
					 | 
				
				 | 
				 | 
				
					
 
 |