11.07.2015 Views

Atmel QTouch Library User Guide

Atmel QTouch Library User Guide

Atmel QTouch Library User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 5-36: Code Generation tab in Pin Configuration wizard9. In the New Window Screen, the code is shown on thescreen.QTOUCH_STUDIO_MASKS needs to be enabled in the project option or intouch_qt_config.h file .And in the main.c file, this code SNS_array and SNSK_arrayneeds to be copied from here and put under QTOUCH_STUDIO_MASKS macro asshown below in the main.c file:#ifdef QTOUCH_STUDIO_MASKSSNS_array[0][0]=0x09;SNS_array[0][1]=0x22;SNS_array[1][0]=0x00;SNS_array[1][1]=0x00;SNSK_array[0][0]=0x14;SNSK_array[0][1]=0x88;SNSK_array[1][0]=0x00;SNSK_array[1][1]=0x00;#endifNote:1. To use 4 and 8 channel libraries(interport case) for pin configurability ,_STATIC_PORT_PIN_CONF_ macro needs to be enabled in the project options or intouch_qt_config.h file.101

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!