;Dont send all lines at the same time. Example will not works correctly
;There are three different mode to set up CapSense board
;They should be run separately

;1.Scan CapSense Buttons
;Write flag value for scanning CapSense Buttons value
;"Send" next lines separately
w 05 00 00   
w 05 01      
;"Send/Repeat" next line for scanning buttons value
r 05 @1Key1 @0Key1 @1Key2 @0Key2 @1Key3 @0Key3 @1Key4 @0Key4 @1Key5 @0Key5 @1Key6 @0Key6 @1Key7 @0Key7



;2.Scan CapSense Slider and Centroid
;Write flag value for scanning CapSense Slider value;
;"Send" next lines separately
w 05 00 01  
w 05 01
;"Send/Repeat" this line for scanning Slider value
r 05 @1Slider1 @0Slider1 @1Slider2 @0Slider2 @1Slider3 @0Slider3 @1Slider4 @0Slider4 @1Slider5 @0Slider5 @1Slider6 @0Slider6 @1Slider7 @0Slider7 @1Slider8 @0Slider8 @1Centroid @0Centroid



;3.Scan CapSense Centroid 
;Read Centroid values
w 05 01 
;"Send/Repeat" this line for scanning Slider value
r 05 x x x x x x x x x x x x x x x x @1Centroid @0Centroid